https://issues.apache.org/bugzilla/show_bug.cgi?id=47241

           Summary: Error in rewriting with character ':'
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: mod_rewrite
        AssignedTo: [email protected]
        ReportedBy: [email protected]


If you write a RewriteRule that set a cookie which contains a ':', the
mod_rewrite is interpreting the ':' as a separator character, but you have no
away to escape that character, and it is a valid character for a cookie value.

Eg if you set this RewriteRule :

RewriteRule ^/toto;jsessionid=(\w+):(\w+)   -
[cookie=JSESSIONID:$1:$2:%{HTTP_HOST}]

You have no way to set the cookie name at "JSESSIONID" and it's value at
"$1:$2"

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to