X Tutup
Skip to content

fix(sandbox): getInitialCode should not use URL hash without full prefix#3523

Open
Josh-Cena wants to merge 2 commits intomicrosoft:v2from
Josh-Cena:Josh-Cena-patch-1
Open

fix(sandbox): getInitialCode should not use URL hash without full prefix#3523
Josh-Cena wants to merge 2 commits intomicrosoft:v2from
Josh-Cena:Josh-Cena-patch-1

Conversation

@Josh-Cena
Copy link

I'm hunting down typescript-eslint/typescript-eslint#8780 (see more context in the issue discussion), and I finally got to getInitialCode. It turns out that the hash may start with #code but then not start with #code/, causing malformed initial code to be parsed.

I'm hunting down typescript-eslint/typescript-eslint#8780 (see more context in the issue discussion), and I finally got to `getInitialCode`. It turns out that the hash may start with `#code` but then not start with `#code/`, causing malformed initial code to be parsed.
@jakebailey
Copy link
Member

Thanks; you'll need to pnpm changeset, though (patch release is fine).

@Josh-Cena
Copy link
Author

That's real speed ^^ I was trying to avoid a local clone.

@jakebailey jakebailey enabled auto-merge (squash) March 9, 2026 22:55
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

Successfully merging this pull request may close these issues.

2 participants

X Tutup