Opened 17 years ago

Closed 17 years ago

#5312 closed (worksforme)

URLField does not validate .it URLs

Reported by: anonymous Owned by: Jacob
Component: Uncategorized Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I get a 'A valid URL is required.' error when I try to enter .it domains.

Change History (1)

comment:1 by James Bennett, 17 years ago

Resolution: worksforme
Status: newclosed

Django does not perform any check which would be affected by this; by default, two validation rules are applied:

  1. The URL must begin with "http://" or "https://"
  2. An HTTP request to the URL must result in an HTTP response status code of 200, 301, 302 or 401.

Also, I'm able to successfully submit URLs of .it domains in an app I have on trunk. Marking worksforme and suggesting that you're trying to post un-fetchable links (in which case look at the verify_exists argument to URLField).

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