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
FormsAuthentica tion.RedirectTo LoginPage() then the URL becomes malformed.
I then recieve the following error,
"The return URL specified for request redirection is invalid."
for example
?inputfile=F:%5 CFacebook%5CDoc uments%5CDocume nts%5CUser's%20 Guide.doc
then becomes
?ReturnUrl=%2fD SP%2fsecure%2fd efault.aspx%3fi nputfile%3dF%3a %255CFacebook%2 55CDocuments%25 5CDocuments%255 CUser's%2520Gui de.doc&inputfil e=F:%5CFacebook %5CDocuments%5C Documents%5CUse r'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
FormsAuthentica tion.RedirectTo LoginPage() then the URL becomes malformed.
I then recieve the following error,
"The return URL specified for request redirection is invalid."
for example
?inputfile=F:%5 CFacebook%5CDoc uments%5CDocume nts%5CUser's%20 Guide.doc
then becomes
?ReturnUrl=%2fD SP%2fsecure%2fd efault.aspx%3fi nputfile%3dF%3a %255CFacebook%2 55CDocuments%25 5CDocuments%255 CUser's%2520Gui de.doc&inputfil e=F:%5CFacebook %5CDocuments%5C Documents%5CUse r'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.
Comment