On Fri, 23 Mar 2001, Rodent of Unusual Size wrote:
> I see three options here:
>
> 1. Leave it alone and document it as a deficiency ('you cannot have
>    escapes in rewritten URLs').
> 2. Jump through the necessary hoops to find an appropriate
>    replacement character that will make it through the call
>    to ap_escape_uri(), and then replace that with '%' after
>    escaping.
> 3. Disable escaping (and log the fact in the rewritelog) if the
>    rewrite string contains '%%' or '$%'.

How about an "option" like [NE] for "No-Escape" for the RewriteRule
directive.  Sounds a little more obvious than just turing off
the escaping for certain strings.

Joshua.

Reply via email to