Doc #79142 [NEW]: http-build-query.php array example output missing URL encoding

From: Date: Mon, 20 Jan 2020 14:46:34 +0000
Subject: Doc #79142 [NEW]: http-build-query.php array example output missing URL encoding
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17210@lists.php.net to get a copy of this message
From:             bastian dot schaar at sedo dot com
Operating system: 
PHP version:      Irrelevant
Package:          Translation problem
Bug Type:         Documentation Problem
Bug description:http-build-query.php array example output missing URL encoding

Description:
------------
---
From manual page: https://php.net/function.http-build-query
---

The German translation includes example output for encoding
multi-dimensional arrays which indicates that the resulting keys will
*not* be URL encoded:

e.g. user[name]=Bob+Smith

The English version correctly shows the example output *with* URL
encoded brackets.

e.g. user%5Bname%5D=Bob+Smith

Assuming that the implementation is correct, the documentation is not.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=79142&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=79142&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=79142&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=79142&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=79142&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=79142&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=79142&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=79142&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=79142&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=79142&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=79142&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79142&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=79142&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=79142&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=79142&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=79142&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=79142&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=79142&r=mysqlcfg


Thread (3 messages)

« previous php.doc.bugs (#17210) next »