Req #68729 [NEW]: http_build_query() should use RFC3986 escape as the default
From: yohgaki@php.net Date: Sat, 03 Jan 2015 01:52:10 +0000 Subject: Req #68729 [NEW]: http_build_query() should use RFC3986 escape as the default Groups: php.bugs Request: Send a blank email to php-bugs+get-189612@lists.php.net to get a copy of this message
From: yohgaki Operating system: ANY PHP version: Irrelevant Package: *URL Functions Bug Type: Feature/Change Request Bug description:http_build_query() should use RFC3986 escape as the default Description: ------------ It uses RFC 1738 (escape ' ' as +). It should use RFC 3986. i.e. escape ' ' as %20. Since urldecode() decodes %20 to ' '. There is no BC issue. -- Edit bug report at https://bugs.php.net/bug.php?id=68729&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68729&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68729&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68729&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68729&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68729&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68729&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68729&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68729&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68729&r=support Expected behavior: https://bugs.php.net/fix.php?id=68729&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68729&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68729&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68729&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68729&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68729&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68729&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68729&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68729&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68729&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68729&r=mysqlcfg
Thread (4 messages)
| « previous | php.bugs (#189612) | next » |
|---|