codesandbox / codesandbox/codesandbox-client

Uploading files with binary fails

Open
#8,872 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

🐛 bug report

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project
    adheres to.
  • I have searched the issue tracker for an issue that matches the one I want
    to file, without success.

Description of the problem

How has this issue affected you? What are you trying to accomplish?

To Reproduce

When I upload a file (specifically the Luau.Web.js file from Luau's official site), and when I drag it in, I get this error:

Image

I suspect it is the binary in the file, but probably not.

Your Environment
Software Name/Version
Сodesandbox Current
Browser Microsoft Edge
Operating System Windows 11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the drag-and-drop upload in Microsoft Edge on Windows 11 with Luau.Web.js, then trace the reported error through the client upload flow. No source file or test is named in the report, so locate the upload entry point from the reproduction and add coverage for this binary file case. Done means the file uploads successfully without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.