Doc #79142 [Opn->Ver]: [DE] http-build-query.php array example output missing URL encoding
Edit report at https://bugs.php.net/bug.php?id=79142&edit=1
ID: 79142
Updated by: cmb@php.net
Reported by: bastian dot schaar at sedo dot com
-Summary: http-build-query.php array example output missing
URL encoding
+Summary: [DE] http-build-query.php array example output
missing URL encoding
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: Translation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2020-01-20 14:46:34] bastian dot schaar at sedo dot com
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 this bug report at https://bugs.php.net/bug.php?id=79142&edit=1
Thread (3 messages)