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