admin validation sends a bad link
- Status
- Closed
- Subject
- admin validation sends a bad link
- Version
- 1.9.x
- Category
- Error
- Feature
- Administration
Templates (Smarty) - Resolution status
- Fix on the Way
- Submitted by
- Xeno
- Volunteered to solve
- Xeno
- Lastmod by
- Marc Laporte
- Rating
- Description
In templates/mail/moderate_validation_mail.tpl this line is converted badly by smarty:
{$mail_machine}?user={$mail_user|escape:'url'}&pass={$mail_apass}Smarty removes the '?' char if it's directly after a '}' (no clue why).
So I always get a bad link like this:
http://<ip>/tikiwiki/tiki-login_validate.phpuser=xxx&pass=xxx
Any solution to this? I tried to use %3F but doesn't work very well...
- Solution
in templates/mail/moderate_validation_mail.tpl the "<{$mail_email}>" confused smarty.
I now moved "<>" to the tiki-register.php as $smarty->assign('mail_email',"<".$_REQUEST'email'.">");But I haven't found the problem in smarty itself. Maybe someone should have a deeper look at smarty.
fixed in 1.9.8- Importance
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 1021
- Created
- Wednesday 21 February, 2007 08:56:56 UTC
by Unknown - LastModif
- Friday 15 January, 2010 23:02:59 UTC