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


Thibauld Favre <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]




--- Comment #7 from Thibauld Favre <[EMAIL PROTECTED]>  2008-10-29 15:08:46 PST 
---
Hi,

This bug got me scratched my head heavily and, at the end, I must say I was
(almost) pleased to see it was a bug :) I can confirm that the 'plus' sign gets
unescaped too on Apache 2.2.8 on Ubuntu Hardy. Here's the test code I used to
reproduce the bug:

[EMAIL PROTECTED]:~/public_html$ cat .htaccess 
RewriteEngine On
RewriteBase /
RewriteRule ^action/(.*)$ index.php?show=$1 [B]

[EMAIL PROTECTED]:~/public_html$ cat index.php 
<?php
echo("request uri: ".$_SERVER['REQUEST_URI']."<br/>");
echo("query string: ".$_SERVER['QUERY_STRING']."<br/>");
echo("'show' param value: ".$_GET['show']);
?>

Now accessing http://www.myserver.com/action/test%2Ba gives:
request uri: /action/test%2Ba
query string: show=test+a
'show' param value: test a

My immediate (very) quick and dirty work around was to manually escape and
unescape the plus sign by replacing it with a '_plusign_' string. If you need
more logs or info about this bug, let me know...
Regards,

Thibauld


-- 
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