Page MenuHomePhabricator

PHPHttpRequest doesn't work with HTTPS
Closed, ResolvedPublic

Description

Introduced by 1c927b1df2a (Iab2bda1ebc). Turns out PHP expects the context scheme name to be "http" regardless of whether the actual protocol is HTTP or HTTPS. This breaks PHPHttpRequest for all HTTPS requests since it no longer sets the stream context properly.


Version: 1.22.0
Severity: normal

Details

Reference
bz56047

Event Timeline

bzimport raised the priority of this task from to High.
bzimport set Reference to bz56047.

Change 91393 had a related patch set uploaded by Parent5446:
Fixed stream wrapper in PhpHttpRequest

https://gerrit.wikimedia.org/r/91393

Change 91393 merged by jenkins-bot:
Fixed stream wrapper in PhpHttpRequest

https://gerrit.wikimedia.org/r/91393

Change 132184 had a related patch set uploaded by MarkAHershberger:
Fixed stream wrapper in PhpHttpRequest

https://gerrit.wikimedia.org/r/132184

Change 132184 merged by jenkins-bot:
Fixed stream wrapper in PhpHttpRequest

https://gerrit.wikimedia.org/r/132184

Backported to REL1_22, closing again as FIXED.