Req #68729 [Fbk->NoF]: http_build_query() should use RFC3986 escape as the default

From: Date: Sun, 12 Sep 2021 04:22:12 +0000
Subject: Req #68729 [Fbk->NoF]: http_build_query() should use RFC3986 escape as the default
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236542@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68729&edit=1

 ID:               68729
 Updated by:       php-bugs@lists.php.net
 Reported by:      yohgaki@php.net
 Summary:          http_build_query() should use RFC3986 escape as the
                   default
-Status:           Feedback
+Status:           No Feedback
 Type:             Feature/Change Request
 Package:          *URL Functions
 Operating System: ANY
 PHP Version:      Irrelevant
 Assigned To:      cmb
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2021-08-31 10:46:07] cmb@php.net

> Since urldecode() decodes %20 to ' '. There is no BC issue.

Non sequitur.  While I agree that defaulting to PHP_QUERY_RFC1738
is a bit unfortunate nowadays, changing this default would cause a
subtle BC break; I doubt that it's worth it.  Are you still
planning to pursue this?

------------------------------------------------------------------------
[2015-01-15 11:28:41] ppasindud at gmail dot com

Then wouldn't it be same as rawurlencode, I am assuming that there is a reason to have two of
those with slight differences.

------------------------------------------------------------------------
[2015-01-03 01:52:10] yohgaki@php.net

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 this bug report at https://bugs.php.net/bug.php?id=68729&edit=1


Thread (4 messages)

« previous php.bugs (#236542) next »