Open Bug 561586 Opened 14 years ago Updated 2 years ago

<input type='url'> should check URLs according to URL Standard

Categories

(Core :: DOM: Forms, defect, P5)

defect

Tracking

()

REOPENED

People

(Reporter: mounir, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

(Keywords: html5)

At the moment, <input type='url'> type mismatch constraint validation is using |nsIIOService::NewURI| which not checking URI according to RFC's 3986 and 3987, AFAICT.
You mean NewURI should do more checks? That's bug 19313.

Please note, however, that NewURI only succeeds for URL schemes that are registered on the user's system. If the user doesn't have a handler for e.g. tel: or mailto:, it fails, IIRC.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Depends on: 19313
Resolution: DUPLICATE → ---
Priority: -- → P3
Blocks: html-forms

This might be good to look into once we implement the URL Standard better.

Component: DOM: Core & HTML → DOM: Forms
Depends on: url
No longer depends on: 19313, iri, 344615
Priority: P3 → P5
Summary: <input type='url'> should check URI's according to RFC's 3986 and 3987 → <input type='url'> should check URLs according to URL Standard
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.