Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent file:/// img conversion #5563

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Prevent file:/// img conversion #5563

merged 1 commit into from
Jan 29, 2024

Conversation

zurfyx
Copy link
Member

@zurfyx zurfyx commented Jan 29, 2024

I don't think we ever want to import a file:/// as we will have no system permission.

On top of that, we should implement some UI that shows when an image can't be loaded (i.e. network connection, page down, etc.) #5564

Closes #5316 (thanks @mok419 for the research!)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 29, 2024
Copy link

vercel bot commented Jan 29, 2024

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

Name Status Preview Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview Jan 29, 2024 6:13am
lexical-playground ✅ Ready (Inspect) Visit Preview Jan 29, 2024 6:13am

Copy link

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 26.66 KB (0%) 534 ms (0%) 52 ms (+109.26% 🔺) 586 ms
packages/lexical-rich-text/dist/LexicalRichText.js 38.79 KB (0%) 776 ms (0%) 81 ms (+128.67% 🔺) 857 ms
packages/lexical-plain-text/dist/LexicalPlainText.js 38.76 KB (0%) 776 ms (0%) 79 ms (+119.62% 🔺) 855 ms

@thegreatercurve thegreatercurve merged commit a5a9ccb into main Jan 29, 2024
42 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Microsoft word mixed text & image paste - Security issue
3 participants