Skip to content

Handle relative urls in Location redirect header#23252

Merged
pakrym merged 1 commit intoAzure:mainfrom
pakrym:pakrym/Handle-relative-urls-in-Location-redirect-header
Aug 16, 2021
Merged

Handle relative urls in Location redirect header#23252
pakrym merged 1 commit intoAzure:mainfrom
pakrym:pakrym/Handle-relative-urls-in-Location-redirect-header

Conversation

@pakrym
Copy link
Copy Markdown
Contributor

@pakrym pakrym commented Aug 10, 2021

No description provided.

@ghost ghost added the Azure.Core label Aug 10, 2021
@pakrym
Copy link
Copy Markdown
Contributor Author

pakrym commented Aug 10, 2021

/azp run net - core - ci

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

System.Text.DecoderFallback.ExceptionFallback);
return decoder.GetString(rawBytes, 0, rawBytes.Length);
}
catch (ArgumentException) { } // Not actually Utf-8
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are you worried about swallowing this exception?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Nope, we expect the GetString to throw if it fails to decode.

@pakrym
Copy link
Copy Markdown
Contributor Author

pakrym commented Aug 16, 2021

/check-enforcer override

@pakrym pakrym merged commit 184e321 into Azure:main Aug 16, 2021
@pakrym pakrym deleted the pakrym/Handle-relative-urls-in-Location-redirect-header branch August 16, 2021 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants