Bug #53187 [NEW]: urlencode and ~ encodes differently in the various versions of the functions
| From: | asphp at dsgml dot com | Date: | Wed, 27 Oct 2010 23:10:43 +0000 |
| Subject: | Bug #53187 [NEW]: urlencode and ~ encodes differently in the various versions of the functions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-155585@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: trunk-SVN-2010-10-27 (SVN)
Package: URL related
Bug Type: Bug
Bug description:urlencode and ~ encodes differently in the various versions of the functions
Description:
------------
In urlencode a ~ (tilde) is escaped.
In rawurlencode, when using ASCII a ~ is NOT escaped, but when using EBCDIC
it IS escaped.
There is no mention of ~ being special in the docs for rawurlencode or the
docs for urlencode.
And if it is special for rawurlencode, it should act the same in ASCII and
EBCDIC.
--
Edit bug report at http://bugs.php.net/bug.php?id=53187&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53187&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53187&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53187&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53187&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53187&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53187&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53187&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53187&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53187&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53187&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53187&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53187&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53187&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53187&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53187&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53187&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53187&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53187&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53187&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53187&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53187&r=mysqlcfg