> PHP's HTTP and FTP stream wrappers can send data without encryption when an HT...

@rysiek@mstdn.social

> 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.

github.com/php/php-src/securit

#InfoSec