Unable to download when email address contains plus (+) character

Official support for: sugar-bytes.de
Post Reply New Topic
RELATED
PRODUCTS

Post

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 (mailto: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 (mailto: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)

Post Reply

Return to “Sugar Bytes”