N
Nick
Hi there,
I'm passing an HTML encoded string to an URL in the query parameter.
This query string works perfect in the website if you are already logged on,
if you are not logged on the application calls
FormsAuthentication.RedirectToLoginPage() then the URL becomes malformed.
I then recieve the following error,
"The return URL specified for request redirection is invalid."
for example
?inputfile=F:%5CFacebook%5CDocuments%5CDocuments%5CUser's%20Guide.doc
then becomes
?ReturnUrl=%2fDSP%2fsecure%2fdefault.aspx%3finputfile%3dF%3a%255CFacebook%255CDocuments%255CDocuments%255CUser's%2520Guide.doc&inputfile=F:%5CFacebook%5CDocuments%5CDocuments%5CUser's%20Guide.doc
Which is rather screwed. Any ideas how how I can work around this?
Thanks a million for your time in advance.
Nick.
I'm passing an HTML encoded string to an URL in the query parameter.
This query string works perfect in the website if you are already logged on,
if you are not logged on the application calls
FormsAuthentication.RedirectToLoginPage() then the URL becomes malformed.
I then recieve the following error,
"The return URL specified for request redirection is invalid."
for example
?inputfile=F:%5CFacebook%5CDocuments%5CDocuments%5CUser's%20Guide.doc
then becomes
?ReturnUrl=%2fDSP%2fsecure%2fdefault.aspx%3finputfile%3dF%3a%255CFacebook%255CDocuments%255CDocuments%255CUser's%2520Guide.doc&inputfile=F:%5CFacebook%5CDocuments%5CDocuments%5CUser's%20Guide.doc
Which is rather screwed. Any ideas how how I can work around this?
Thanks a million for your time in advance.
Nick.