Skip to content

fix(previews): validate URL input #243

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

Open
ahuseyn opened this issue Jun 9, 2025 · 2 comments
Open

fix(previews): validate URL input #243

ahuseyn opened this issue Jun 9, 2025 · 2 comments
Assignees

Comments

@ahuseyn
Copy link
Member

ahuseyn commented Jun 9, 2025

Right now any text can be inserted into Preview URL input. Only a valid URL should be allowed.

Image

@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Headless OSS Jun 9, 2025
@colinmurphy colinmurphy self-assigned this Jun 9, 2025
@colinmurphy
Copy link
Member

@ahuseyn I will look at this. I am currently writing tests for settings so I should be able to fix this. Currently we just sanitize the text field.

@colinmurphy
Copy link
Member

@ahuseyn We can add a new field called URL_Text_Field in the PR #241

@colinmurphy colinmurphy moved this from 🆕 Backlog to 🔖 Ready for Development in Headless OSS Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔖 Ready for Development
Development

No branches or pull requests

2 participants