Hacker News

PHP advisory: mixed-case HTTPS and FTPS URLs can expose data in plaintext

13 points by nreece ago | 2 comments

Natfan |next [-]

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

so, not just mixed case? most URIs probably wouldn't be mixed case, but i could see a legacy use-case where URIs are converted into uppercase (for example, to save space)

ChrisArchitect |previous [-]