hi…
I am trying to develop a link like www.xyz.com/unsubscribe?myEmail=anurag@live.com which will be sent to many people in a persoanlise email.
Basically i want to develop a page where in people on clicking the above link in thier mail will be redirected.
I have successfully designed a page in matrix that capture the email address as %globals_get_myEmail%…
The issue is its not recognising '@' sign…
It shows anuraglive.com instead of anurag@live.com
Any suggesttion…???
%globals_get_X% strips quite a bit of stuff from the string, so I am assuming that it is striping the @. Not really sure what you can do about it, other than put in a feature request, or use a javascript method to grab the query string.
Data that has the potential to have malicious script injected is filtered quite alot in Matrix. The keyword is nice, it's easy - but it's always going to be coded in such a way that it leaves no doors open to allow a hack. If you're a fan of jQuery, as alot of us are, there is a nice plugin to allow easy management of the query string - http://plugins.jquery.com/project/query-object. If you are writing your own javascript to interpret user data I'd encourage the use of strong filtering or strict pattern matching as well.