> PHP's HTTP and FTP stream wrappers can send data without encryption when an HTTPS or FTPS URL has an uppercase S in its scheme, for example HTTPS://, httpS:// or FTPS://. Applications using file_get_contents(), fopen() or other stream functions may therefore expose passwords, authentication tokens, request bodies or transferred files to an attacker able to observe the network traffic.
> since PHP 5.2.0, and redirects to a mixed-case URL since PHP 4.3.0.
https://github.com/php/php-src/security/advisories/GHSA-f6gg-rchx-xw8j
@rysiek what shitfuckery is this