rewrite appears to cause a loss of case sensitivity

Oh, the strange things mod_rewrite does!

rewrite appears to cause a loss of case sensitivity

Postby bhedana » Thu Nov 20, 2003 9:07 pm

can anybody explain why a string of mixed case characters such as

bMfTzT1TdGF0aXN0aWNz

gets returned to my script in all lower case after a rewrite?

If there a way to preserve case sensitivity of or a URL that is being rewritten.
bhedana
 
Posts: 1
Joined: Thu Nov 20, 2003 9:01 pm

Use [NC]

Postby sammy_smith » Sun Jan 09, 2005 4:22 pm

I usually use [NC] in my rewrites any my mixed stings are passed just fine such as:

RewriteRule (^/[a-z]{2})/guide_([a-zA-Z]{1,30})/ $1/guide/section_$2/ NC]
sammy_smith
 


Return to Idiosyncrasies

Who is online

Users browsing this forum: No registered users and 3 guests

cron