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

Support for question mark in SAS tokens #146

Merged
merged 3 commits into from
Jan 19, 2021

Conversation

MindFlavor
Copy link
Contributor

Fixes #123.

  • This SDK now supports both SAS with or without leading question marks (as it's source of debate and we don't want to make a stand here).
  • Now the SDK correctly surfaces the parser error in case of malformed SAS tokens (malformed in the sense of invalid query pairs, the crate does not validate the token itself).

Copy link
Contributor

@rylev rylev left a comment

Choose a reason for hiding this comment

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

This looks good to me. Using a full url parser to parse the sas token is a bit awkward probably the best way to go.

@MindFlavor MindFlavor merged commit e543493 into master Jan 19, 2021
@MindFlavor MindFlavor deleted the issue/123/question_mark_in_sas_tokens branch January 19, 2021 10:35
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.

azure_storage::core::client::with_azure_sas requires '?' in SAS token string
2 participants