missing @ in URL email query string
Posted: Sun Feb 22, 2009 5:49 pm
Hi,
after spending a couple days trying to unsuccessfully figure this out,
i've reached the dreaded point of reluctantly admitting i need technical assistance
if available
the issue in question involves an http query string to unsubscribe to a newsletter
via a link at the bottom of the newsletter emailed to a customer
when user clicks on unsubscribe link in their newsletter email, is taken to:
"https://****.com/~MYdomain/unsubscribe.php?email=emailTOunsubscribe@hotmail.com"
fine so far..
however when the unsubscribe button is clicked on the unsubscribe.php page
the url now reads:
"http://www.MYdomain.com/unsubscribe_don ... otmail.com"
please note that the @ is missing from the email address at the end of the URL
this causes the email address not to be found in the customers table
if i add the @ to the URL:
("http://www.MYdomain.com/unsubscribe_don ... otmail.com")
the person is correctly unsubscribed
the code in catalog/unsubscribe.php that seems to be the culprit is:
$email_to_unsubscribe=$_GET['email']; (i modified the original which was $HTTP_GET_VARS- now deprecated)
does anyone know why the @ is missing from the email address?
thank you for your insight
after spending a couple days trying to unsuccessfully figure this out,
i've reached the dreaded point of reluctantly admitting i need technical assistance
if available
the issue in question involves an http query string to unsubscribe to a newsletter
via a link at the bottom of the newsletter emailed to a customer
when user clicks on unsubscribe link in their newsletter email, is taken to:
"https://****.com/~MYdomain/unsubscribe.php?email=emailTOunsubscribe@hotmail.com"
fine so far..
however when the unsubscribe button is clicked on the unsubscribe.php page
the url now reads:
"http://www.MYdomain.com/unsubscribe_don ... otmail.com"
please note that the @ is missing from the email address at the end of the URL
this causes the email address not to be found in the customers table
if i add the @ to the URL:
("http://www.MYdomain.com/unsubscribe_don ... otmail.com")
the person is correctly unsubscribed
the code in catalog/unsubscribe.php that seems to be the culprit is:
$email_to_unsubscribe=$_GET['email']; (i modified the original which was $HTTP_GET_VARS- now deprecated)
does anyone know why the @ is missing from the email address?
thank you for your insight