note 84025 added to reserved.variables
| From: | gajillion at gmail dot com | Date: | Tue, 24 Jun 2008 16:08:27 +0000 |
| Subject: | note 84025 added to reserved.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-140774@lists.php.net to get a copy of this message | ||
@SilentChris at gmail dot com - I'm seeing the same thing but I'm starting to believe the
issue is not PHP but Apache. It looks like Apache's rewrite module is double encoding strings
with a '%' sign if they are followed by two or more other characters. So
%25 translates correctly to '%'
%25b translates correctly to '%b'
%25ba translates incorrectly to � which when itself is run through urlencode translates to
'%BA'.
Further letters translate correctly.
%25bac produces '�c', etc.
It only appears to happen on the first instance of %25 because further items are translated
correctly.
----
Server IP: 64.71.164.2
Probable Submitter: 65.171.226.136
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.php
Edit -- https://master.php.net/note/edit/84025
Del: integrated -- https://master.php.net/note/delete/84025/integrated
Del: useless -- https://master.php.net/note/delete/84025/useless
Del: bad code -- https://master.php.net/note/delete/84025/bad+code
Del: spam -- https://master.php.net/note/delete/84025/spam
Del: non-english -- https://master.php.net/note/delete/84025/non-english
Del: in docs -- https://master.php.net/note/delete/84025/in+docs
Del: other reasons-- https://master.php.net/note/delete/84025
Reject -- https://master.php.net/note/reject/84025
Search -- https://master.php.net/manage/user-notes.php