Doc #79142 [Opn->Ver]: [DE] http-build-query.php array example output missing URL encoding

From: Date: Mon, 20 Jan 2020 14:57:07 +0000
Subject: Doc #79142 [Opn->Ver]: [DE] http-build-query.php array example output missing URL encoding
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17211@lists.php.net to get a copy of this message
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)

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