#40305 [NEW]: http_build_query outut changed - docs don't reflect this
| From: | jochem at iamjochem dot com | Date: | Thu, 01 Feb 2007 12:13:31 +0000 |
| Subject: | #40305 [NEW]: http_build_query outut changed - docs don't reflect this | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969375148@lists.php.net to get a copy of this message | ||
From: jochem at iamjochem dot com
Operating system: not applicable
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: http_build_query outut changed - docs don't reflect this
Description:
------------
prior to version 5.1.3 http_build_query did not url encode square brackets
- this was 'fixed' in 5.1.3 in accordance with
http://www.faqs.org/rfcs/rfc3986.html.
the manual still show an example (Example 3. on
http://php.net/http_build_query [english docs]) that
http_build_query
output doesn't encode the square brackets.
I kindly request that the docs be updated to show the actual output
generated (with regard to square brackets) in current php versions and
that a note is added to explain that the urlencoding of square brackets
was added in version 5.1.3
the following bug report explains wqhat the 'problem' was a indicates that
it was 'fixed':
http://bugs.php.net/bug.php?id=36656
thank you for taking the time to consider this.
kind regards,
Jochem
Reproduce code:
---------------
not applicable
--
Edit bug report at http://bugs.php.net/?id=40305&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40305&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40305&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40305&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40305&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40305&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40305&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40305&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40305&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40305&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40305&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40305&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40305&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40305&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40305&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40305&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40305&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40305&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40305&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40305&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40305&r=mysqlcfg