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

Leading and trailing space to the metadata value leads to error” #760

Closed
apsarpasha opened this issue Oct 12, 2018 · 2 comments
Closed
Labels
🪲 bug Issue is not intended behavior 😤 easy
Milestone

Comments

@apsarpasha
Copy link

apsarpasha commented Oct 12, 2018

Storage Explorer Version:
image

Platform/OS Version: Windows
Architecture:
Regression From: No

Steps to Reproduce:

Open Storage Account -> Go to Container ->Select Blob -> Right Click and open Properties -> Add meta data - > Add some value with the space

image

One of our customer has concern saying “When trying to add metadata that ends with a space to a blob it responds with 'Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.' in code. and in Azure Storage Explorer it gives the same response.”

Research:
While investigating, I noticed that “the Leading and trailing space to the metadata value leads to error”

image

image
error1

Expected Experience:

Actual Experience:

@MRayermannMSFT MRayermannMSFT added ❔ investigate We need to look into this further 🪲 bug Issue is not intended behavior and removed ❔ investigate We need to look into this further labels Oct 12, 2018
@MRayermannMSFT
Copy link
Member

Yep, looks like we're supposed to be trimming whitespace when setting metadata.

@MRayermannMSFT MRayermannMSFT added this to the 1.5.0 milestone Oct 15, 2018
@MRayermannMSFT
Copy link
Member

Fix merged into master for next major release (we'll now check for leading and trailing whitespace, and not let you save with any there).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Issue is not intended behavior 😤 easy
Projects
None yet
Development

No branches or pull requests

2 participants