httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Krah <>
Subject [users@httpd] mod_rewrite redirect, how to keep url encoding utf8
Date Thu, 20 Dec 2007 16:20:25 GMT

I've got some problem with mod_rewrites redirect behaviour.
I'll got some urls which may have some query parameters which are utf8 encoded 
like this:


It works fine.

Now there should be some short urls which match to the long url above:

RewriteRule ^/ef(.*)$ /abcd/u1$1 [R,L]

The result is somehow different, the utf8 encoded parameter gets uri encoded 
again, so that the result looks like this (% => %25):


which is not the result i've expected.
Any hints? Why it gets encoded again if mod_rewrite is participating?
Or is this "correct" behaviour that utf8 encoded uri is url encoded again?



View raw message