-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl: make --xattr save the original URL #9768
Conversation
This causes a minor peculiarity: imagine we get URL A that redirects to B. This now saves the URL as A (formerly it used B). The xattr code also saves the referer header. But the rreferer header only makes sense after a redirect, so right now this gets the referer from the second request... which happens to always be A if automatic referer is used! |
True. Well, auto-referrer might trigger to save the effective URL to the origin xattr, but this seems way more trouble than it's worth. Perhaps the best solution is to just not use automatic referrers. [ Off-topic: A generic solution could be a |
22870de
to
7cfe87a
Compare
@mback2k the Appveyor builds now all appear as failed, but looking at the details there is no link to figure out more! It appears as if it still shows the previous rounds build failure while in fact it has restarted a new build after the PR was updated. Can this be it? |
No that was not it. It seems they were failed builds, but without links to the build logs. |
Right, the new test does not work on Windows... |
You can just disable these tests for Windows. On Windows there are no xattrs. There is a similar feature called file streams, but there is no |
I figure there are more platforms than Windows without it, so I tried to make it a proper feature for the test suite to require. |
Since #9769: while appveyor builds are running they show as failed jobs (with the red cross), and if you click details it shows the wrong commit (message) |
I will look at the AppVeyor issue tonight. |
This comment was marked as outdated.
This comment was marked as outdated.
Ref: #9768 (comment) Reported-by: Daniel Stenberg Follow up to #9769
Ref: curl/curl#9768 (comment) Reported-by: Daniel Stenberg Follow up to #754
8bcc788
to
11b0cc2
Compare
No description provided.