Files
cpp-httplib/test
Eminyandyhirose 74180f0512 Only treat :// as a scheme separator before the path (#2701)
* Only treat :// as a scheme separator before the path

parse_url looked for :// anywhere, so a redirect to a path whose query
held a URL, such as /login?next=https://example.com/, was split at the
query and rejected because the scheme was not letters only.

* Check the path-with-query case in ParseUrlTest

The redirect test resolves its relative case to the same input shape, and
the case with a leading slash did not fit the test's name.

---------

Co-authored-by: yhirose <yuji.hirose.bug@gmail.com>
2026-11-27 18:46:30 -05:00
..
2021-09-11 14:26:48 -04:00
2021-09-11 14:26:48 -04:00
2017-12-29 22:34:59 -05:00
2013-07-04 18:18:52 -04:00
2024-11-16 11:14:13 -05:00