mirror of
https://github.com/php/php-src.git
synced 2024-09-30 22:36:12 +00:00
e49922d3f8
If a colon occurs in a query string or fragment of a partial URL without scheme, parse_url() tries to regard it as port separator. If up to 5 digits follow and then a slash or the end of the string, parse_url() fails. We're fixing this by checking whether the colon is part of the query string or the fragment, under the assumption that question marks and hash signs are only allowed as separators of query string and fragments, respectively, what is guarenteed for URIs (RFC 3986), but not necessarily for URLs (RFC 1738) where question marks are allowed for usernames and passwords. Anyhow, this constitutes a minor BC, so the fix is applied to master only. |
||
---|---|---|
.. | ||
base64_decode_basic_001.phpt | ||
base64_decode_basic_002.phpt | ||
base64_decode_error_001.phpt | ||
base64_decode_variation_001.phpt | ||
base64_decode_variation_002.phpt | ||
base64_encode_basic_001.phpt | ||
base64_encode_basic_002.phpt | ||
base64_encode_error_001.phpt | ||
base64_encode_variation_001.phpt | ||
bug47174.phpt | ||
bug52327.phpt | ||
bug53248.phpt | ||
bug54180.phpt | ||
bug55273.phpt | ||
bug55399.phpt | ||
bug63162.phpt | ||
bug68917.phpt | ||
bug69976.phpt | ||
get_headers_error_001.phpt | ||
get_headers_error_002.phpt | ||
parse_url_basic_001.phpt | ||
parse_url_basic_002.phpt | ||
parse_url_basic_003.phpt | ||
parse_url_basic_004.phpt | ||
parse_url_basic_005.phpt | ||
parse_url_basic_006.phpt | ||
parse_url_basic_007.phpt | ||
parse_url_basic_008.phpt | ||
parse_url_basic_009.phpt | ||
parse_url_basic_010.phpt | ||
parse_url_error_001.phpt | ||
parse_url_error_002.phpt | ||
parse_url_relative_scheme.phpt | ||
parse_url_variation_001.phpt | ||
parse_url_variation_002_32bit.phpt | ||
parse_url_variation_002_64bit.phpt | ||
rawurldecode_error_001.phpt | ||
rawurldecode_variation_001.phpt | ||
rawurlencode_error_001.phpt | ||
rawurlencode_variation_001.phpt | ||
urldecode_error_001.phpt | ||
urldecode_variation_001.phpt | ||
urlencode_error_001.phpt | ||
urlencode_variation_001.phpt | ||
urls.inc |