Code Project

Link Unit

Tuesday, November 06, 2007

Redirect URI cannot contain newline characters

I was facing this problem while going through development of ASP.Net page.I was redirecting to an error page with an error message generated passed in query string. It is clear from the error that string cannot contain newline character. So I simply used System.HttpUtility.URLEncode(errString) and then passed it through querystring.
Post a Comment