]> git.ipfire.org Git - thirdparty/curl.git/commit
url: fix CURLU and location following
authorJay Satiro <raysatiro@yahoo.com>
Thu, 23 Jul 2020 07:16:14 +0000 (03:16 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Thu, 30 Jul 2020 15:57:35 +0000 (11:57 -0400)
commita12a16151aa33dfd5e7627d4bfc2dc1673a7bf8e
treeabb58424abeb0526a63655d3083a4c5c9cc43870
parentd8b8afe320ee2cda0906f1c69873b38bca872e74
url: fix CURLU and location following

Prior to this change if the user set a URL handle (CURLOPT_CURLU) it was
incorrectly used for the location follow, resulting in infinite requests
to the original location.

Reported-by: sspiri@users.noreply.github.com
Fixes https://github.com/curl/curl/issues/5709
Closes https://github.com/curl/curl/pull/5713
lib/url.c
tests/data/Makefile.inc
tests/data/test1567 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1567.c [new file with mode: 0644]