mirror of
https://github.com/php/php-src.git
synced 2026-10-28 09:46:46 +08:00
SoapClient followed any Location header, so a redirect to another host, port, or scheme resent the HTTP authentication credentials, the stream context headers, and the SOAP envelope to that origin. Such redirects now fail with a SoapFault. A same-host upgrade from http to https on port 443 is still followed. The new follow_cross_origin_redirects option restores the previous behavior. Cookies were already scoped by domain and Proxy-Authorization only reaches the proxy, so neither changes. Fixes GH-24315