Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#9948 closed (fixed)

URLField accepts invalid domains

Reported by: kratorius 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: UI/UX:

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 kratorius 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by kratorius

comment:1 Changed 7 years ago by jacob

  • milestone set to 1.1
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 6 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 6 years ago by russellm

(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 Changed 4 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

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