]> granicus.if.org Git - curl/commit
http: fix HTTP auth to include query in URI
authorJay Satiro <raysatiro@yahoo.com>
Mon, 10 Dec 2018 00:34:47 +0000 (19:34 -0500)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 11 Dec 2018 12:28:20 +0000 (13:28 +0100)
commit552f0205e6901889a965fe679f4afeeeed7f4955
tree0305ae744e93fe9c84666fc4475d2581d28afc05
parentc8bf8cc1e4e8f6e8c29b104a2bcc47c626e18081
http: fix HTTP auth to include query in URI

- Include query in the path passed to generate HTTP auth.

Recent changes to use the URL API internally (46e1640, 7.62.0)
inadvertently broke authentication URIs by omitting the query.

Fixes https://github.com/curl/curl/issues/3353
Closes #3356
lib/http.c
tests/data/Makefile.inc
tests/data/test2076 [new file with mode: 0644]