-
Notifications
You must be signed in to change notification settings - Fork 566
Closed
Description
Describe the bug
URLs are sanitized with http, not https. This could lead to privacy loss / redirection / other attacks.
Steps to reproduce (I have confirmed I can reproduce this issue on the develop branch):
- Create a field of type
text_url - Open a page with that field
- Enter
google.comin the field - Save the page
Expected
https://google.com/
Actual
Possible Solution
If the original URL didn't contain a protocol, use set_url_scheme() to set it to HTTPS.
Metadata
Metadata
Assignees
Labels
No labels