Download & Extend

Bad urls in mailings from user.module

Project:Drupal core
Version:x.y.z
Component:user.module
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Wen 4.1 sites upgrade to CVS or eventually 4.2, they will often have 'module.php?' ... hard coded in their welcome email, replacement password email, etc. this is now a bad url.

not sure how to fix this though. maybe we just need a notice along with the release.

Comments

#1

We could make update.php remove these variables (user_mail_pass_body, user_mail_welcome_body, etc) from the variables table, or better yet, update them using the rewrite_old_urls() function. Mind to test/patch?

#2

I thought Dries fixed this already... (?)

#3

However not directly associated with user.module, this error occurs elsewhere. All nodes in my upgraded site adds entries in watchdog "upgrade possibly affects node ...".

I believe that since the check is there already (and works)(The warning is written to watchdog) the error can be fixed in a similar manner than Dries proposed for update.php.

Kobus

#4