HTTP 400: Invalid characters found in URL. Is IIS Decryption URL Too Early? What's going on here?

So I have this URL: http://test.com/afolder/who-else-wants-to-make-horror-movies%3f/

which is an encoded URL: http://test.com/afolder/who-else-wants-to-make-horror-movies?/

But IIS7 throws 400:

HTTP Error 400.0 - An invalid ASP.NET request encountered invalid characters in the URL.

But why do this if I correctly encoded the URL?

I also have the same problem with other characters encoded in URL encoding, for example '/', which are "% 2f", but when .net resolves the handler, it does this after decoding the URL, which then changes the effective path, grrrr .

+5
source share
1 answer

It looks like there are some problems with IIS7 on x64 .... not sure if this is your problem or not:

http://blogs.iis.net/rakkimk/archive/2008/10/10/asp-net-2-0-x64-you-may-get-http-400-bad-request-or-error-as- mentioned-in-kb-932552-or-826437.aspx

+5
source

All Articles