Closed Bug 1503493 Opened 7 years ago Closed 7 years ago

Add validation to the URL field

Categories

(bugzilla.mozilla.org :: Bug Creation/Editing, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: kohei, Assigned: kohei)

References

Details

Split from Bug 1436619. Currently the URL field doesn’t have any validation. I think it should have. * It has to be loose, since we have accepted `data:`, `javascript:` and any other values on the URL field. * Frontend: use `<input type="url">` * Backend: use a library; introduce `FIELD_TYPE_URL`
WIP, which is actually an earlier version of the Bug 1436619 work: https://github.com/kyoshino/bmo/compare/bug-1503493-validate-url
Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Given the number of invalid URLs, I’m closing this as WONTFIX for now.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.