DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42635>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42635

           Summary: Problems with escaping %2 in a url - mod-rewrite
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: critical
          Priority: P1
         Component: mod_rewrite
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


Hi,
I've a rewrite rule as follows wherein i need to escape %2. The Apache 
webserver seems to be converting %2 to %25 automatically. How do i fix this? 
Any help would be greatly appreciated.

RewriteRule ^/XT1 http://www.egroupnet.com/3m/commercialcare/xt%2D1/ 
[R=301,L,NS,NC]

I tried with "unescape", but of no use.

RewriteMap unescaper int:unescape
RewriteRule ^/XT1 http://www.egroupnet.com/3m/commercialcare/xt${unescaper:\%2}
D1/ [R=301,L,NS,NC]

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to