This is sort of an obscure question...
On a client's mailer, we include twitter and LinkedIn links that contain several fields, including the title of the mailer and a few words of the paragraph..
This works well, unless the title contains an ampersand like: The power of R&D
indeed, in the twitter link, it looks like this:
- Code: Select all
The+power+of+R%26D
Which works well when you're previewing the html before phplist imports it (i always create a web-page, then import it into phplist)
However, phplist translates that url encoded %26 back into an & before it stores it in MySQL, so, of course, when you click on the link in the mailer, the link breaks at the level of the & that should be a %26...
I guess my question is twofold:
- why would phplist do a urldecode when it stores the url in MySQL
- Does anyone know how i can modify phplist so that it stops performing this urldecode (which, i imagine, means also stopping it from performing a urlencode when it reads from MySQL)
I hope this makes sense to someone -- i realize my writing is unclear..
Thank you all!