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

[Blob] File upload hangs indefinitely when file.name contains % #828

Open
typeofweb opened this issue Jan 30, 2025 · 0 comments
Open

[Blob] File upload hangs indefinitely when file.name contains % #828

typeofweb opened this issue Jan 30, 2025 · 0 comments

Comments

@typeofweb
Copy link

typeofweb commented Jan 30, 2025

When % is present in the name of the file (e.g. lo%go.jpg), put(…) hangs forever.

onUploadProgress is called once with { loaded: 0, total: …, percentage: 0 } and then nothing else happens for a few minutes.

After a few minutes, an error is thrown: Error Vercel Blob: Unknown error, please visit https://vercel.com/help

How to reproduce?

  • have an <input type="file" /> in a form (I'm using Next.js so I upload the file with server actions)
  • put("path", file)
  • observe how put never resolves and the request is left at "Pending" forever
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

No branches or pull requests

1 participant