Skip to content
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

/vsicurl/: no longer forward Authorization header when doing redirection to other hosts. #10857

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

rouault
Copy link
Member

@rouault rouault commented Sep 22, 2024

Can be configured with the CPL_VSIL_CURL_AUTHORIZATION_HEADER_ALLOWED_IF_REDIRECT=YES/NO/IF_SAME_HOST config option

Fixes https://lists.osgeo.org/pipermail/gdal-dev/2024-September/059536.html

@rouault rouault added this to the 3.10.0 milestone Sep 22, 2024
@rouault rouault force-pushed the http_redirect_bearer branch 3 times, most recently from f4385e1 to 170f452 Compare September 22, 2024 12:40
…ion to other hosts. Can be configured with the CPL_VSIL_CURL_AUTHORIZATION_HEADER_ALLOWED_IF_REDIRECT=YES/NO/IF_SAME_HOST config option
Copy link
Member

@rcoup rcoup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Reminds me of a near-identical curl issue one of our team found a few years ago.

@rouault rouault merged commit aef927b into OSGeo:master Sep 30, 2024
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants