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

[Build] Add a space character to seperate the url and hash value #14147

Open
wants to merge 1 commit into
base: 202012
Choose a base branch
from

Conversation

xumia
Copy link
Collaborator

@xumia xumia commented Mar 8, 2023

Why I did it

[Build] Add a space character to seperate the url and hash value for Azure Storage SAS Key
If it contains high privilege info, it will be skipped.

How I did it

It only has impact on url packages, does not have impact on the other packages, such as git, deb.
If the url is azure blob storage and contains SAS key, check the privilege and the format.
For checking the privilege part, it makes sure it only contains read or list permission only, if other permissions, skip the url.
For the SAS format, if the SAS ends with '&sp=r' or '&sp=rl', then additional space character will be added in the end of the url, when using the url, the additional character will be removed.

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@xumia xumia force-pushed the fix-seperator-202012 branch 7 times, most recently from 3b875ee to e0f3063 Compare March 11, 2023 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant