Login / Register 0 items | $0.00 New @ KVR
1 post since 24 Jan, 2007, from Washington

Postby bigpurpletiger; Wed Jan 11, 2017 5:21 pm Unable to download when email address contains plus (+) character

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.

The url created by the download page is incorrect for PHP based web servers when an email address contains a plus. For example, bob+smith@gmail.com. PHP magically converts it to a space unless special measures are taken.

The workaround is to replace the plus character with %2b as in bob%2bsmith@gmail.com.

You may wonder if a plus character is a legitimate character in an email. It is, please consult the email RFC 5322 section 3.2.3:
https://tools.ietf.org/search/rfc5322 (https://tools.ietf.org/search/rfc5322)

Moderator: Sugar Bytes

Return to Sugar Bytes