Loading...
 
Skip to main content

Link to validate email address (for Admins) is broken

Status
Closed
Subject
Link to validate email address (for Admins) is broken
Version
1.9.x
Category
  • Error
Feature
Administration
Templates (Smarty)
Inter-User messages
Resolution status
Fixed or Solved
Submitted by
GeekZone
Lastmod by
Marc Laporte
Rating
(0)
Description

The email that is sent to the admin to validate a new account includes a link that is messing a "?"

Hi,

atest2 < mark at emailaddress.com.au> has requested an account on tikiwikiwebsite.com.au

To validate that account, please follow the link:
http://tikiwikiwebsite.com.au/tiki-login_validate.phpuser=atest2&pass=3c903b60c1f6b3cc6ebae63e214bc081Question


best regards,
your Tikiwiki

the link should start with

http://tikiwikiwebsite.com.au/tiki-login_validate.php?userQuestion


I've never submitted a bug before, let alone a fix, hopefully I'm providing the info the right way....

Solution

/templates/mail/moderate_validation_mail.tpl

Line 6 Columd 17 needs to add a "?"

to change from:
{$mail_machine}?user={$mail_user|escape:'url'}&pass={$mail_apass}
to
{$mail_machine}??user={$mail_user|escape:'url'}&pass={$mail_apass}
----------
As it is a smarty bug I am not in favor of this patch - because at the next upgrade of smarty you will have 2 ?. Smarty 2.6.14 messes up with <> }?.
Solution replace <{$mail_email}> with ({$mail-email}) until samrty is fixed
sylvie
If you take a

Importance
6
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1087
Created
Friday 04 May, 2007 11:02:42 UTC
by Unknown
LastModif
Saturday 05 September, 2009 19:47:27 UTC


Show PHP error messages