Bug #69668 [Ver->Csd]: SOAP: special XML characters in namespace URIs not encoded

From: Date: Mon, 29 Mar 2021 12:24:06 +0000
Subject: Bug #69668 [Ver->Csd]: SOAP: special XML characters in namespace URIs not encoded
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233038@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69668&edit=1 ID: 69668 Updated by: cmb@php.net Reported by: LastDragon at yandex dot ru Summary: SOAP: special XML characters in namespace URIs not encoded -Status: Verified +Status: Closed Type: Bug Package: SOAP related Operating System: win 8.1 x64 PHP Version: 5.5.25 Assigned To: cmb Block user comment: N Private report: N New Comment: Fixed with <https://github.com/php/php-src/commit/75cb678206e385736deb75e5cf8a2f83e88a4335>. Previous Comments: ------------------------------------------------------------------------ [2021-03-24 15:31:28] cmb@php.net The following pull request has been associated: Patch Name: Fix #69668: SOAP special XML characters in namespace URIs not encoded On GitHub: https://github.com/php/php-src/pull/6804 Patch: https://github.com/php/php-src/pull/6804.patch ------------------------------------------------------------------------ [2021-03-23 21:36:23] cmb@php.net falundir is right; there is no need to use any special XML characters in the namespace URI. On the other hand, ext/soap shouldn't produce invalid XML. ------------------------------------------------------------------------ [2015-06-25 08:16:39] falundir at gmail dot com Service endpoint URL (soap:address location) is not the same as service namespace. Namespaces can be any URI (or URN) and it's just a name, and not resource locator. Simply use something else than your service URL as your namespace, ex: http://company.com/services/TestService/v1 ------------------------------------------------------------------------ [2015-05-20 07:41:31] LastDragon at yandex dot ru Full descrition http://pastebin.com/4WGSvA02 (sorry, I can't post it here because this piece of shit says "Please do not SPAM our bug system.") ------------------------------------------------------------------------ [2015-05-20 07:37:06] LastDragon at yandex dot ru Description: ------------ If service URI contains the querystring (eg ?tmp=1&tmp2=2) then SoapClient will generate "ns1" attribute without entity encoding ("a=a&b=b" instead of "a=a&amp;b=b"). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69668&edit=1

« previous php.bugs (#233038) next »