You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The redirect logic was broken when the redirect-to URL was a relative
URL as a fragment only (starting with '#').
Extended test 1560 to reproduce, then verify.
Reported-by: Jeroen Ooms
Fixes#15836
Closes #
The redirect logic was broken when the redirect-to URL was a relative
URL only as a fragment or query (starting with '#' or '?').
Extended test 1560 to reproduce, then verify.
Reported-by: Jeroen Ooms
Fixes#15836Closes#15848
I did this
When parsing anchor-only links
#section
from a html page, the path and query sometimes change. For example:I think the correct value here should be
https://x.com/a/b/c?x=123#bar
.However on MacOS (curl 8.7.1) it is:
https://x.com/a/b/#bar
(both the path and query have changed).On Debian Linux (8.11.1) it is:
https://x.com/a/b/c#bar
(the query has changed).I expected the following
The url with
#bar
appended and no changes to the path or query.curl/libcurl version
curl 8.11.1
operating system
MacOS / Debian
The text was updated successfully, but these errors were encountered: