Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#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)

urlfield-r9692.diff (1.7 KB ) - added by Ivan Giuliani 15 years ago.

Download all attachments as: .zip

Change History (5)

by Ivan Giuliani, 15 years ago

Attachment: urlfield-r9692.diff added

comment:1 by Jacob, 15 years ago

milestone: 1.1
Triage Stage: UnreviewedAccepted

comment:2 by Russell Keith-Magee, 15 years ago

Resolution: fixed
Status: newclosed

(In [10574]) Fixed #9948 -- Corrected URLField validation to match RFC1035 (URL analog of #9890). Thanks to kratorius for the report and fix.

comment:3 by Russell Keith-Magee, 15 years ago

(In [10577]) [1.0.X] Fixed #9948 -- Corrected URLField validation to match RFC1035 (URL analog of #9890). Thanks to kratorius for the report and fix.

Merge of r10574 from trunk.

comment:4 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

Note: See TracTickets for help on using tickets.
Back to Top