Project

General

Profile

Feature #1522

add option to mod_rewrite to make case insensitive matches/replaces

Added by Anonymous over 11 years ago. Updated almost 11 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
mod_rewrite
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

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

#1

Updated by glen over 11 years ago

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

there is:


(?i)docid

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

#2

Updated by stbuehler almost 11 years ago

  • Status changed from Fixed to Invalid

Also available in: Atom