Skip to content

Connection string SASs now sanitized#20520

Merged
jaschrep-msft merged 3 commits intoAzure:masterfrom
jaschrep-msft:storage-connstring-sanitizeSas
Apr 12, 2021
Merged

Connection string SASs now sanitized#20520
jaschrep-msft merged 3 commits intoAzure:masterfrom
jaschrep-msft:storage-connstring-sanitizeSas

Conversation

@jaschrep-msft
Copy link
Copy Markdown
Member

Same code is now applied to a SAS found in a connection string as is
applied to a SAS found with builder.endpoint().

Same code is now applied to a SAS found in a connection string as is
applied to a SAS found with builder.endpoint().
@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Apr 9, 2021
Test previously did a string comparison ignoring case. Code no longer
guarantees same ordering of sas query parameters, so the SAS must now
have its deconstructed contents compared.
Fixed test recording issues.
Fixed checkstyle issue.
@jaschrep-msft jaschrep-msft merged commit 9a14e1e into Azure:master Apr 12, 2021
@jaschrep-msft jaschrep-msft deleted the storage-connstring-sanitizeSas branch April 12, 2021 18:51
benbp pushed a commit that referenced this pull request Apr 28, 2021
* Connection string SASs now sanitized

Same code is now applied to a SAS found in a connection string as is
applied to a SAS found with builder.endpoint().

* Fixed connection string SAS test.

Test previously did a string comparison ignoring case. Code no longer
guarantees same ordering of sas query parameters, so the SAS must now
have its deconstructed contents compared.

* CI fixes

Fixed test recording issues.
Fixed checkstyle issue.

Co-authored-by: jschrepp-MSFT <41338290+jschrepp-MSFT@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants