Req #68729 [Com]: http_build_query() should use RFC3986 escape as the default

From: Date: Thu, 15 Jan 2015 11:28:41 +0000
Subject: Req #68729 [Com]: http_build_query() should use RFC3986 escape as the default
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189969@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 Comment by: ppasindud at gmail dot com Reported by: yohgaki@php.net Summary: http_build_query() should use RFC3986 escape as the default Status: Open Type: Feature/Change Request Package: *URL Functions Operating System: ANY PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Then wouldn't it be same as rawurlencode, I am assuming that there is a reason to have two of those with slight differences. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#189969) next »