views:

54

answers:

2

Hi ,

I have an encoding problem, using the Apache rewrite rule below:

RewriteRule ^/somethingx/somethingy/somethingx_somethingz(.*) /somethingx/somethingy/somethingx_somethingy/$1 [L,R=301]

The Rewrite rule works fine but except it is encoding '?' characters in the request as '%3f' characters in the response.

Does anyone know why this is?

Many Thanks,

+1  A: 

Try to add [L,QSA,R=301]

Kane
A: 

Try the NE/noescape flag.

Gumbo