Skip to content

Conversation

@normj
Copy link
Member

@normj normj commented Oct 16, 2025

Description

With commit 3e8a41b the logic for building the user agent was pushed down the bottom of the request pipeline after signing. So UserAgent is not supposed to be used when creating the signature. The problem is if there a retry attempt and the request is being resigned the UserAgent header value will be left into the headers collection and then will be used for computing the signature. This causes a signature mismatch when the retry gets back down the bottom of the request pipeline and the UserAgent string is modified again after it was used for computing the signature.

The fix is to add UserAgent to the list of headers to ignore when computing the signature.

Testing

Dry Run: pending

@afroz429 afroz429 self-requested a review October 16, 2025 00:27
@normj normj merged commit 8202033 into development Oct 16, 2025
3 checks passed
@normj normj deleted the normj/fix-retry-useragent branch October 16, 2025 06:30
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.

3 participants