urlrewritefilter icon indicating copy to clipboard operation
urlrewritefilter copied to clipboard

ModRewrite conditions don't support flags

Open GoogleCodeExporter opened this issue 10 years ago • 2 comments

What steps will reproduce the problem?
RewriteCond %{HTTP_HOST} ^(.*)from\\.com$ [NC]

What is the expected output? What do you see instead?
the [NC] should be parsed as a flag and properly set case insensitivity.

What version of the product are you using? On what operating system?
4.0.4

Please provide any additional information below.
The flags should be parsed similarly to the Rule flag parsing.

Original issue reported on code.google.com by [email protected] on 16 Jun 2014 at 7:17

GoogleCodeExporter avatar Jul 05 '15 22:07 GoogleCodeExporter

I forked this project before it was on github and fixed this here: https://github.com/safarijv/urlrewritefilter/commit/cb9e18f350c6c4b31a77c47e008afa33826ec830

billapepper avatar Jul 10 '15 17:07 billapepper

Hi @billapepper I'm happy to merge this and other fixes you made for urlrewrite into the codebase. Would you like to do a pull request?

paultuckey avatar Jul 13 '15 20:07 paultuckey