Error: Redirect URI cannot contain newline characters

ninel

Active member
Joined
Mar 23, 2005
Messages
32
Location
Land O Lakes, Florida
Programming Experience
3-5
I have a web page in which a user enters values into a comment field.
I have another page where based on the selection of drop downs the user gets redirected to another page where they can view these comments.

If the user hits the enter button when entering comments I recieve the error : "Redirect URI cannot contain newline characters".

Is there anyway I can pull out this newline character when initially inserting the record into the table or pull it out when trying to redirect to the next page to prevent this error from ocurring?

Thanks,
Ninel
 
You can use the functions Server.UrlEncode and Server.UrlDecode for strings passed as url.
 
Back
Top