mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-11-28 21:08:28 +00:00
* 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>