1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 00:58:48 -05:00
curl/tests/data/test1653
Daniel Stenberg abd846c374
urlapi: don't accept blank port number field without scheme
... as it makes the URL parser accept "very-long-hostname://" as a valid
host name and we don't want that. The parser now only accepts a blank
(no digits) after the colon if the URL starts with a scheme.

Reported-by: d4d on hackerone

Closes #6283
2020-12-07 00:50:49 +01:00

21 lines
195 B
Plaintext

<testcase>
<info>
<keywords>
unittest
urlapi
</keywords>
</info>
<client>
<server>
none
</server>
<features>
unittest
</features>
<name>
urlapi port number parsing
</name>
</client>
</testcase>