Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-12-12 | urlapi: Fix port parsing of eol colon | Daniel Gustafsson | |
A URL with a single colon without a portnumber should use the default port, discarding the colon. Fix, add a testcase and also do little bit of comment wordsmithing. Closes #3365 Reviewed-by: Daniel Stenberg <daniel@haxx.se> | |||
2018-12-11 | tests: add urlapi unittest | Daniel Gustafsson | |
This adds a new unittest intended to cover the internal functions in the urlapi code, starting with parse_port(). In order to avoid name collisions in debug builds, parse_port() is renamed Curl_parse_port() since it will be exported. Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Marcel Raad <Marcel.Raad@teamviewer.com> |