dillon1000/react

Commit

[Flight] encodeURI filenames parsed from stack traces (#31340)

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.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-client/src/ReactFlightClient.js ModifiedM packages/react-client/src/__tests__/ReactFlight-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…