NYCPHP Meetup

NYPHP.org

[nycphp-talk] Gmail breaks URLs?

Peter Sawczynec ps at sun-code.com
Fri Jan 19 11:54:20 EST 2007


When the URL is being built, are any of the vars or data coming from a
database being used untrimmed. That is, does any of the source data have
some unintentional space padding around the data? Peter

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Stephen Musgrave
Sent: Friday, January 19, 2007 10:45 AM
To: talk at lists.nyphp.org
Subject: [nycphp-talk] Gmail breaks URLs?


I have a double opt-in workflow on a site I am building.  The user  
signs up for membership, they are sent a confirmation email.  There  
is a link in the confirmation email that they must click in order to  
validate their account.  The URL is showing up in Gmail with spaces  
randomly inserting into it, thus breaking the URL.

Here's an example:

http://staging.looq. com/members/validate.php?id= 4917

There's a space after "looq." and before "com/"

There is another space between "id=" and "4917"

The format of the email is HTML.  Looking at the raw source, here's  
what I see:

<a href="ht
tp://staging.looq.com/members/validate.php?id= 4917">http:// 
staging.looq.
com/members/validate.php?id= 4917</a>

Any ideas of what is causing this?
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php






More information about the talk mailing list