]> git.ipfire.org Git - thirdparty/curl.git/commit
urlapi: fix redirect from file:// with query, and simplify
authorDaniel Stenberg <daniel@haxx.se>
Wed, 26 Feb 2025 10:13:36 +0000 (11:13 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 27 Feb 2025 10:51:19 +0000 (11:51 +0100)
commitbc24c6051230ca85fc3d1d2de2a866a154064b74
tree1e2b36006f3e39d9cd6f69d814659360549d2224
parentc028a243f2edfc64fa7e3199261e277104a3be98
urlapi: fix redirect from file:// with query, and simplify

- fix redirect from file:// URL with query part
- find_host_sep() simplify
- urlencode_str() simplify
- redirect_url() simplify
- made more const char *
- add more redirect URL test cases to test 1560

Closes #16498
lib/curl_memrchr.h
lib/urlapi.c
tests/libtest/lib1560.c