Rewrite trouble with querystrings.
Posted: Fri Jun 12, 2015 9:02 am
Hello world,
we do use OpenEMM to send out emails containing unique querystrings per user
(added field "linkurl" to database and insert it into a link like: http://example.com/landing/?req=##LINKURL##)
It seems to work fine, BUT since the "linkurl" contains chars as such as "=", those are rewritten to their HMTL-entities ("%3D") which breaks the whole process.
Should be http://example.com/landing/?req=XZ_Nk=.ey (correct)
becomes http://example.com/landing/?req=XZ_Nk%3D.ey (Note the "%3D")
Is there a way to circumvent this behaviour?
Best regards
Richard
we do use OpenEMM to send out emails containing unique querystrings per user
(added field "linkurl" to database and insert it into a link like: http://example.com/landing/?req=##LINKURL##)
It seems to work fine, BUT since the "linkurl" contains chars as such as "=", those are rewritten to their HMTL-entities ("%3D") which breaks the whole process.

Should be http://example.com/landing/?req=XZ_Nk=.ey (correct)
becomes http://example.com/landing/?req=XZ_Nk%3D.ey (Note the "%3D")
Is there a way to circumvent this behaviour?
Best regards
Richard