History log of /PHP-8.2/ext/standard/tests/http/bug79265.phpt (Results 1 – 3 of 3)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 95f25837 15-Sep-2020 Sara Golemon

Allow http tests to run in parallel by using ephemeral ports

# f9f769d4 11-Jun-2020 Rowan Tommins

Make http stream wrapper advertise HTTP/1.1 by default

In practice, we always act as an HTTP/1.1 client, for compatibility
with servers which ignore protocol version. Sending the version

Make http stream wrapper advertise HTTP/1.1 by default

In practice, we always act as an HTTP/1.1 client, for compatibility
with servers which ignore protocol version. Sending the version in
the request will avoid problems with servers which don't ignore it.

HTTP/1.0 can still be forced using a stream context option.

Closes GH-5899.

show more ...

# d0d60503 24-Feb-2020 Miguel Xavier Penha Neto

Fixes #79265: Improper injection of Host header when using fopen for http requests

Check all occurrences of the string "host:" (and other headers),
not just the first one.