Skip to content

[Flight] encodeURI filenames parsed from stack traces#31340

Merged
sebmarkbage merged 1 commit into
facebook:mainfrom
sebmarkbage:encodefilename
Oct 23, 2024
Merged

[Flight] encodeURI filenames parsed from stack traces#31340
sebmarkbage merged 1 commit into
facebook:mainfrom
sebmarkbage:encodefilename

Conversation

@sebmarkbage
Copy link
Copy Markdown
Contributor

@sebmarkbage sebmarkbage commented Oct 23, 2024

When parsing stacks from third parties they may include invalid url characters. So we need to encode them. Since these are expected to be urls though we use just encodeURI instead of encodeURIComponent.

@sebmarkbage sebmarkbage requested review from eps1lon and gnoff October 23, 2024 23:03
@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 23, 2024 11:19pm

@react-sizebot
Copy link
Copy Markdown

react-sizebot commented Oct 23, 2024

Comparing: 28668d39bea855c3bda481d018d8f3f0dfad9066...e099951248c031daf1faf201188775e224382641

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB = 1.83 kB 1.82 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 506.86 kB 506.86 kB = 90.71 kB 90.71 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 511.79 kB 511.79 kB = 91.42 kB 91.43 kB
facebook-www/ReactDOM-prod.classic.js = 604.26 kB 604.26 kB = 106.92 kB 106.92 kB
facebook-www/ReactDOM-prod.modern.js = 580.48 kB 580.48 kB = 103.01 kB 103.01 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 3d1b8e9

@sebmarkbage sebmarkbage merged commit 1631855 into facebook:main Oct 23, 2024
sebmarkbage pushed a commit to vercel/next.js that referenced this pull request Oct 23, 2024
**breaking change for canary users: Bumps peer dependency of React from
`19.0.0-rc-28668d39-20241023` to `19.0.0-rc-1631855f-20241023`**

[diff
facebook/react@28668d39...1631855f](facebook/react@28668d3...1631855)

<details>
<summary>React upstream changes</summary>

- facebook/react#31340

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants