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

Upload Blob from URL successfully creates a blob with invalid URL #2319

Open
anna-mazhar opened this issue Dec 8, 2023 · 2 comments
Open
Assignees
Labels
blob-storage bug Something isn't working

Comments

@anna-mazhar
Copy link

anna-mazhar commented Dec 8, 2023

Which service(blob, file, queue, table) does this issue concern?

Azure Blob

Which version of the Azurite was used?

3.21.0

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

npm

What's the Node.js version?

14.18.1

What problem was encountered?

  • Azurite does not enforce URL validation for Upload Blob from URL (Python SDK), unlike the cloud which responds with Could not verify copy source. Anything passed to the source URL works on Azurite.
  • Azurite creates a blob even if the URL is of a non-existing blob unlike the cloud which responds with The specified blob does not exist.

In both cases, a blob is successfully created on Azurite.

Steps to reproduce the issue?

Logs to reproduce scenario 1: debug.log

@EmmaZhu
Copy link
Member

EmmaZhu commented Dec 12, 2023

Hi @anna-mazhar ,

Thanks a lot for reporting this to us. We see the issue here, and will have a fix for it.

Thanks
Emma

@blueww blueww added bug Something isn't working blob-storage labels Dec 15, 2023
@EmmaZhu
Copy link
Member

EmmaZhu commented Dec 21, 2023

Hi @anna-mazhar ,

Upload from URL is not supported by Azurite yet. I can get the "not implemented" error with the latest Azurite (3.29.0). Would you have a try with the latest one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blob-storage bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants