#9948 closed (fixed)
URLField accepts invalid domains
| Reported by: | Ivan Giuliani | Owned by: | nobody |
|---|---|---|---|
| Component: | Forms | Version: | 1.0 |
| Severity: | Keywords: | urlfield hyphen | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
URLField accepts invalid domains like gmail-.com or dom------ain.com (it's basically the same problem of #9890).
Attachments (1)
Change History (5)
by , 17 years ago
| Attachment: | urlfield-r9692.diff added |
|---|
comment:1 by , 17 years ago
| milestone: | → 1.1 |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 by , 17 years ago
Note:
See TracTickets
for help on using tickets.
(In [10574]) Fixed #9948 -- Corrected URLField validation to match RFC1035 (URL analog of #9890). Thanks to kratorius for the report and fix.