]> granicus.if.org Git - curl/commit
redirect: when following redirects to an absolute URL, URL encode it
authorDaniel Stenberg <daniel@haxx.se>
Tue, 1 Oct 2019 07:54:21 +0000 (09:54 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 2 Oct 2019 05:53:32 +0000 (07:53 +0200)
commitc6f250c4d6a8964a24d99aaf0e0cb81ab9cb293f
treedf2b76228df97f24fd84956f542f4602e90aca14
parent2c20109a9b5d0499a14a0226e68d55d027ecdb20
redirect: when following redirects to an absolute URL, URL encode it

... to make it handle for example (RFC violating) embeded spaces.

Reported-by: momala454 on github
Fixes #4445
Closes #4447
lib/transfer.c
tests/data/Makefile.inc
tests/data/test662 [new file with mode: 0644]