diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-10-19 20:20:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-10-19 20:20:06 +0200 |
commit | 98d9dc78407eff15ebf566fe08df2e1b4fd18baf (patch) | |
tree | fe345807566d5b03303b7cbf8c9764c2c61859e3 /tests/data/Makefile.am | |
parent | 6164d40fce532a6aa45b09789b28eae8ca7acf2a (diff) |
URL-parsing: consider ? a divider
The URL parser got a little stricter as it now considers a ? to be a
host name divider so that the slightly sloppier URLs work too. The
problem that made me do this change was the reported problem with an URL
like: www.example.com?email=name@example.com This form of URL is not
really a legal URL (due to the missing slash after the host name) but is
widely accepted by all major browsers and libcurl also already accepted
it, it was just the '@' letter that triggered the problem now.
The side-effect of this change is that now libcurl no longer accepts the
? letter as part of user-name or password when given in the URL, which
it used to accept (and is tested in test 191). That letter is however
mentioned in RFC3986 to be required to be percent encoded since it is
used as a divider.
Bug: http://curl.haxx.se/bug/view.cgi?id=3090268
Diffstat (limited to 'tests/data/Makefile.am')
-rw-r--r-- | tests/data/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 93709741f..6c8718e81 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -68,7 +68,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test1108 test1109 test1110 test1111 test1112 test129 test567 test568 \ test569 test570 test571 test572 test804 test805 test806 test807 test573 \ test313 test1115 test578 test579 test1116 test1200 test1201 test1202 \ - test1203 test1117 + test1203 test1117 test1118 filecheck: @mkdir test-place; \ |