Error: Redirect URI cannot contain newline charact
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?