mirror of
https://github.com/curl/curl.git
synced 2026-08-25 15:13:41 +03:00
urlapi: improved return codes
- add CURLUE_BACKSLASH that can be returned when a backslash was used where a forward one probably was intended. - make CURLUE_NO_HOST higher priority than port number errors for URLs without hostname. Like in "http://::1" - shortened some URL parser error strings Extend test 1560 to verify. Reported-by: kit-ty-kate on github Fixes #22337 Closes #22408
This commit is contained in:
parent
c7328740ec
commit
573a6ec16b
8 changed files with 54 additions and 27 deletions
|
|
@ -2340,6 +2340,8 @@
|
|||
d c 30
|
||||
d CURLUE_TOO_LARGE...
|
||||
d c 31
|
||||
d CURLUE_BACKSLASH...
|
||||
d c 32
|
||||
*
|
||||
d CURLUPart s 10i 0 based(######ptr######) Enum
|
||||
d CURLUPART_URL c 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue