I'm trying to get an AJAX function working, and it otherwise works except for when one of the included arguments is a string with a bunch of special characters (like a pw).
This works fine if the password doesn't contain any prohibition/special characters.
For instance.. 'test123' works fine, but 'test!@#456' gets truncated to 'test!@'
Do I need to encode this url?
Code:
$.getJSON("http://company.com/access.cfc?method=checkUserCredentials&userID="+ #session.myID# + "&lastname=" + lastName + "&firstname=" + firstName+ "&email=" + email + "&password=" + password,function(checkUserCredentialsResults)
This works fine if the password doesn't contain any prohibition/special characters.
For instance.. 'test123' works fine, but 'test!@#456' gets truncated to 'test!@'
Do I need to encode this url?