cookies[loop].getValue() breaking when the value includes an @ symbol
Posted on 2011-09-19
I'm working on a legacy system and having a problem with cookies.
A user's email address is being stored as a cookie and later used as the usersID
Although it was working fine, recently when the cookie is called it returns only text before the @ symbol.
cookie value = 'email@example.com'
getting the cookie value = 'userID = cookies[loop].getValue()'
Returns = 'name'
Is there a way of escaping the @ ? Open to any suggestions.