CakePHP: email validate action doesn't work when clicking on the email link
- by bakerjr
Hi,
We've created the email validation part of our site. We built the site using CakePHP BTW.
The problem is that it doesn't work when we click on the link in the email. The email is sent as plain text.
A weird thing is that when we paste the link on the address bar, it works. Also when clicking on the link using Gmail and desktop email clients, it works as well. Other email providers doesn't work.
EDIT:
Additional info:
Example link for the validation: http://localhost/users/validate/validatecodeblah12c023
When it's working it should login the user and redirect to the user dashboard.
It goes to the front page when it's not working (see description above).
Additional info 2:
I did compare the results using Live HTTP headers and I found out that the only time it doesn't push through (goes to the login page for some reason) is when there's a 'Referrer: h ttp://mail.yahooblahblah...' Gmail for some reason doesn't have a 'Referer' line in it's headers.