Query string loses url encoded characters

Topics: User Forum
Aug 21, 2009 at 4:00 AM
Edited Aug 21, 2009 at 4:01 AM

I'm having trouble with the redirector removing encoded characters from query strings.

eg.

http://localhost/page.aspx?ur=http://localhost/other%20%28page%29.aspx&

becomes

http://localhost/Content/page.aspx?url=http://localhost/other%20page.aspx&

IsapiRewrite4.ini

RewriteRule ^/(.*).aspx /Content/$1.aspx?%{QUERY_STRING} [I]

Is there anything i can do to stop this.

Coordinator
Aug 21, 2009 at 4:45 AM

Use v2.0, and insert the directive

UrlDecoding OFF

in your ini file.

 

Aug 21, 2009 at 4:55 AM

Thank you for the quick answer. Do you know when v2 will be out of beta?

Coordinator
Aug 21, 2009 at 5:40 AM

I don't really have a concrete metric for how to determine when v2.0 should no longer be "preview" or "beta."  In the past I have used the volume and severity of problem reports to determine when a release should be considered "Stable", but in fact v2.0 has been in use in production by a number of people, for a long while, and there have been no big bug reports for months.   You can rely on it now.  I support both v1.2 and v2.0 equally energetically. 

So, to be honest, it's going to just take me making the announcement to push it forward.