Versions difference during processing urls with parameters

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 3
Joined: 28 Nov 2013, 05:01

Versions difference during processing urls with parameters

28 Nov 2013, 05:10

While upgrading from 2 to 3 version I noticed one problem during processing urls with '?' symbol.

See the screenshots for how regex matching in thee 2 versions (teh regex test utilities are shown)

isapi_rewrite_2vs3.png
isapi_rewrite_2vs3.png (43.59 KiB) Viewed 2490 times

isapi_rewrite_2vs3_question_symbol.png
isapi_rewrite_2vs3_question_symbol.png (30.48 KiB) Viewed 2490 times


That's possible the regex rules are changed for 3-d version - but I still see this small note about using the special symbols as "symbols":

http://www.helicontech.com/isapi_rewrite/doc/regex.htm
Literals
All characters are literals except: ".", "*", "?", "+", "(", ")", "{", "}", "[", "]", "^" and "$". These characters are literals when preceded by a "\". A literal is a character that matches itself.


Could you please comment why 3-d version has this difference in processing the same regex above?

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Versions difference during processing urls with paramete

28 Nov 2013, 13:17

Hello,

The regExp didn't change in version 3, however the syntax was changed a little.
Please, see "URLs with question mark don't work" in FAq - http://www.helicontech.com/forum/10648-FAQ.html

Regards
Andrew

User avatar
Posts: 3
Joined: 28 Nov 2013, 05:01

Re: Versions difference during processing urls with paramete

28 Nov 2013, 13:31

Thank you for details, Andrew.

I just propose to include that exceptions to the documentation as well. (I didn't notice the link from there to this FAQ really after the quick look)

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 9 guests