Skip to content

Add a URL validation for the confirmation page#2882

Open
bakulf wants to merge 1 commit intomainfrom
validationUrl
Open

Add a URL validation for the confirmation page#2882
bakulf wants to merge 1 commit intomainfrom
validationUrl

Conversation

@bakulf
Copy link
Copy Markdown
Collaborator

@bakulf bakulf commented Apr 7, 2026

A validation of the URL was missing.

@dannycolin
Copy link
Copy Markdown
Collaborator

Why are we validating the URL on the confirmation page instead of on assignment? AFAIK, the confirmation page is only visible for URLs that have already been assigned so they should already be valid.

If we aren't already validating them on assignment, would it make more sense to do it in _setOrRemoveAssignment?

@bakulf
Copy link
Copy Markdown
Collaborator Author

bakulf commented Apr 12, 2026

Why are we validating the URL on the confirmation page instead of on assignment? AFAIK, the confirmation page is only visible for URLs that have already been assigned so they should already be valid.

This is a fix for a claude report. If an attacker manages to find the MAC UUID, they can force non HTTP URLs

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