]> granicus.if.org Git - curl/commit
urlapi: question mark within fragment is still fragment
authorDaniel Stenberg <daniel@haxx.se>
Tue, 24 Sep 2019 12:45:27 +0000 (14:45 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 24 Sep 2019 21:30:43 +0000 (23:30 +0200)
commit6e7733f7884e82e486971260f078f6cbcbeac552
tree4539b5d16a912bbefd1a3f277feb378c4a5b9b9f
parent9e78e739a5a8dc7f8a35f10e9c0ada7b6df5a527
urlapi: question mark within fragment is still fragment

The parser would check for a query part before fragment, which caused it
to do wrong when the fragment contains a question mark.

Extended test 1560 to verify.

Reported-by: Alex Konev
Fixes #4412
Closes #4413
lib/urlapi.c
tests/libtest/lib1560.c