curl/tests/libtest
Daniel Stenberg e062043433
url: normalize CURLINFO_EFFECTIVE_URL
The URL extracted with CURLINFO_EFFECTIVE_URL was returned as given as
input in most cases, which made it not get a scheme prefixed like before
if the URL was given without one, and it didn't remove dotdot sequences
etc.

Added test case 1907 to verify that this now works as intended and as
before 7.62.0.

Regression introduced in 7.62.0

Reported-by: Christophe Dervieux
Fixes #4491
Closes #4493
2019-10-16 14:10:55 +02:00
..
.gitignore
chkdecimalpoint.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
chkhostname.c
CMakeLists.txt
first.c cleanup: s/curl_debug/curl_dbg_debug in comments and docs 2019-08-08 16:01:00 +02:00
lib500.c
lib501.c
lib502.c
lib503.c
lib504.c
lib505.c
lib506.c cookies: using a share with cookies shouldn't enable the cookie engine 2019-09-28 18:10:43 +02:00
lib507.c
lib508.c
lib509.c lib509: add missing include for strdup 2019-04-11 21:08:39 +02:00
lib510.c
lib511.c
lib512.c
lib513.c
lib514.c
lib515.c
lib516.c
lib517.c
lib518.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
lib519.c
lib520.c
lib521.c
lib523.c
lib524.c
lib525.c
lib526.c
lib530.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
lib533.c
lib537.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
lib539.c
lib540.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
lib541.c build: fix Codacy warnings 2019-06-05 20:38:06 +02:00
lib542.c
lib543.c
lib544.c
lib547.c
lib549.c
lib552.c
lib553.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
lib554.c
lib555.c
lib556.c tests: fix multiple may be used uninitialized warnings 2019-03-05 14:38:25 +01:00
lib557.c lib557: initialize variables 2019-04-11 21:08:41 +02:00
lib558.c
lib559.c
lib560.c
lib562.c
lib564.c
lib566.c
lib567.c
lib568.c
lib569.c build: fix Codacy warnings 2019-06-05 20:38:06 +02:00
lib570.c
lib571.c build: fix Codacy warnings 2019-06-05 20:38:06 +02:00
lib572.c
lib573.c
lib574.c
lib575.c
lib576.c
lib578.c
lib579.c
lib582.c
lib583.c
lib586.c
lib589.c
lib590.c
lib591.c
lib597.c connection: never reuse CONNECT_ONLY conections 2019-02-19 22:50:02 +01:00
lib598.c
lib599.c
lib643.c
lib650.c
lib651.c
lib652.c
lib653.c
lib654.c
lib655.c
lib658.c setopt: add CURLOPT_CURLU 2018-11-09 15:47:28 +01:00
lib659.c CURLU: fix NULL dereference when used over proxy 2019-03-04 16:24:08 +01:00
lib661.c FTP: add test for FTPFILE_NOCWD: Avoid redundant CWDs 2019-09-27 08:32:32 +02:00
lib1156.c build: fix "clarify calculation precedence" warnings 2019-05-12 09:31:09 +02:00
lib1500.c
lib1501.c
lib1502.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
lib1506.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
lib1507.c
lib1508.c
lib1509.c
lib1510.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
lib1511.c
lib1512.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
lib1513.c
lib1514.c
lib1515.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
lib1517.c
lib1518.c Curl_follow: extract the Location: header field unvalidated 2018-12-12 07:58:47 +01:00
lib1520.c
lib1522.c tests: Run global cleanup at end of tests 2019-04-15 15:23:58 +02:00
lib1523.c test1523: basic test of CURLOPT_LOW_SPEED_LIMIT 2019-06-18 22:34:05 +02:00
lib1525.c
lib1526.c
lib1527.c
lib1528.c
lib1529.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
lib1530.c
lib1531.c
lib1532.c
lib1533.c
lib1534.c
lib1535.c
lib1536.c
lib1537.c tests: fix multiple may be used uninitialized warnings 2019-03-05 14:38:25 +01:00
lib1538.c
lib1540.c
lib1541.c build: fix Codacy warnings 2019-06-05 20:38:06 +02:00
lib1550.c
lib1551.c
lib1552.c
lib1553.c
lib1554.c
lib1555.c tests: fix multiple may be used uninitialized warnings 2019-03-05 14:38:25 +01:00
lib1556.c
lib1557.c
lib1558.c test1558: verify CURLINFO_PROTOCOL on file:// transfer 2019-01-10 11:22:48 +01:00
lib1559.c CURL_MAX_INPUT_LENGTH: largest acceptable string input size 2019-04-29 08:02:44 +02:00
lib1560.c urlapi: question mark within fragment is still fragment 2019-09-24 23:30:43 +02:00
lib1591.c http: minor whitespace cleanup from f464535b 2018-12-14 10:20:06 +01:00
lib1592.c curl_multi_remove_handle() don't block terminating c-ares requests 2019-01-07 10:05:20 +01:00
lib1593.c http: allow overriding timecond with custom header 2019-07-14 16:17:15 +02:00
lib1594.c CURLINFO_RETRY_AFTER: parse the Retry-After header value 2019-08-07 14:45:39 +02:00
lib1900.c tests: fix multiple may be used uninitialized warnings 2019-03-05 14:38:25 +01:00
lib1905.c build: fix Codacy warnings 2019-06-05 20:38:06 +02:00
lib1906.c tests: Run global cleanup at end of tests 2019-04-15 15:23:58 +02:00
lib1907.c url: normalize CURLINFO_EFFECTIVE_URL 2019-10-16 14:10:55 +02:00
libauthretry.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
libntlmconnect.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
Makefile.am makefile: make checksrc and hugefile commands "silent" 2019-03-14 20:11:24 +01:00
Makefile.inc url: normalize CURLINFO_EFFECTIVE_URL 2019-10-16 14:10:55 +02:00
mk-lib1521.pl test1521: adapt to SLISTPOINT 2019-06-25 21:51:44 +02:00
notexists.pl
sethostname.c
sethostname.h
stub_gssapi.c gssapi: fix deprecated header warnings 2019-02-14 08:38:43 +01:00
stub_gssapi.h
test75.pl
test307.pl
test610.pl
test613.pl
test1013.pl
test1022.pl
test.h
testtrace.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
testtrace.h
testutil.c
testutil.h