Closed (fixed)
Project:
LoginToboggan
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2007 at 03:05 UTC
Updated:
26 Jul 2007 at 00:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
heimstein commentedre-validation email fails on D5 since all %-preceeded-placeholders seems to be replaced by !-preceeded-placeholders
solution:
change function logintoboggan_resend_validation($uid) at approx. line 881
from
to
and all wil be good again...
Comment #2
fellow commentedI confirm this bug.
heimstein your solution does work for me!
the only problem now is with password because in re-validation email, is still: "!password" . :)
Comment #3
john.money commentedTypo... change the %password and %date to !password and !date
Comment #4
mlncn commentedThis fix works. Is it the most Drupal way fix in light of this:
Altered the behaviour of placeholders in t() calls
http://drupal.org/node/64279#t-placeholders
?
Here it is as a patch, in any case. (If this patch isn't quite the right format -- should it be made from within or just above the logintoboggan directory for instance -- please let me know.)
~ ben, Agaric Design Collective
Comment #5
MattKelly commentedYep, this works great- I just found the same problem.
Comment #6
dkruglyak commentedThere are more places where substitution needs to be correct. Attaching the patch, let's get it into CVS.
Comment #7
hunmonk commentedthe last patch is making erroneous changes to the t() placeholders. please re-read how to use t() in drupal 5, and especially How to handle text in a secure fashion -- using the ! style when outputting to the browser window opens an XSS attack vector.
Comment #8
hunmonk commentedi applied the patch in #4 with a small correction -- one of the variables was missed.
Comment #9
(not verified) commented