codesandbox / codesandbox/codesandbox-client

Folder crashed

Open
#5,870 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

💥 Crash Report Needs More Info
Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

💥 Crash Report

What were you trying to accomplish when the crash occurred?

Please use this issue template to describe what you were doing when you encountered this crash. While we are able to fill in some details automatically, it's not always enough to reproduce!

Link to sandbox: [link]() (optional)
Crash Details
Environment
Browser Version Operating System CodeSandbox Version
chrome 91.0.4472 OS X 10.15.7 013bf2f0b

Route:
https://codesandbox.io/dashboard/all/Data%20Structure/10%20-%20100%%20Optional%20Challenge?workspace=f33fa2d9-de9e-427f-bb77-16660fca2f14

Error Message
URIError: URI malformed
URIError: URI malformed
  at decodeURIComponent (<anonymous>)
  at V (https://codesandbox.io/static/js/app.0617e6b8a.js?_sw-precache=557263e5cac2cfa642b0f9dad6c5b9d2:266:82929)
  at W (https://codesandbox.io/static/js/app.0617e6b8a.js?_sw-precache=557263e5cac2cfa642b0f9dad6c5b9d2:266:83122)
  at ua (https://codesandbox.io/static/js/common.06f11edc9.chunk.js:1:1781090)
  at Ka (https://codesandbox.io/static/js/common.06f11edc9.chunk.js:1:1789355)
  at xs (https://codesandbox.io/static/js/common.06f11edc9.chunk.js:1:1827543)
  at ml (https://codesandbox.io/static/js/common.06f11edc9.chunk.js:1:1811929)
  at hl (https://codesandbox.io/static/js/common.06f11edc9.chunk.js:1:1811854)
  at il (https://codesandbox.io/static/js/common.06f11edc9.chunk.js:1:1809182)
  at https://codesandbox.io/static/js/common.06f11edc9.chunk.js:1:1767365

  in W
  in n
  in withRouter(n)
  in div
  in elements__Container
  in Unknown
  in withRouter()
  in t
  in Unknown
  in De
  in c
  in t

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 crash at the reported dashboard route in Chrome, then inspect the stack trace around app.0617e6b8a.js and common.06f11edc9.chunk.js where decodeURIComponent raises URIError. Trace that bundled code back to its source and determine the malformed URL or folder data involved. Done means the folder route no longer crashes for this case and the behavior is covered by an appropriate regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.