Feature #1522

add option to mod_rewrite to make case insensitive matches/replaces

Added by Anonymous 357 days ago. Updated 89 days ago.

Status:Invalid Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:mod_rewrite
Target version:1.5.0
Pending:

No

Resolution:

invalid

Patch available:


Description

Some CMS don't care about the difference in URL's like:
http://some.cms/index.php?DOCID=123
http://some.cms/index.php?docid=123
http://some.cms/index.php?Docid=123
http://some.cms/index.php?DoCiD=123

but it's a huge difference with mod_rewrite, because there's no option to make a case-insensitive match for ie.
http://some.cms/docid/123
that also matches
http://some.cms/DoCiD/123

So an option to make the RegEx Engine in mod_rewrite honor a "i"-Option would be an enhancement.

-- laph

History

01/17/2008 10:07 AM - glen

  • Status changed from New to Fixed
  • Resolution set to invalid

there is:


(?i)docid

see extended patterns from: http://perldoc.perl.org/perlre.html

10/10/2008 06:54 PM - stbuehler

  • Status changed from Fixed to Invalid

Also available in: Atom PDF