There's an IIS 7.5 + ASP.NET 4.5 application named
/AppName/ in a website.
When visiting http://example.com/appname/url?query=string, the browser is redirected to http://example.com/AppName/url to match the case of
AppName (i.e. uppercase "A" and "N") which is fine, but in doing so the redirect drops the
?query=string part of the URL which is not fine.
How can it be configured to preserve that when it redirects? We didn't configure the redirect to happen so it must be default behavior to IIS or ASP.NET or to the CMS (Sitefinity in this case).
EDIT Jan 26, 2016:
I created a new application and just put a simple .aspx file in there and it didn't redirect, so I'm guessing this is something to do with the CMS and like @dancriel suggested may lie in the web.config (there are a bunch of handlers in there).