#29311: URLField is too strict, doesn't allow other valid URLs
--------------------------------------------+------------------------
               Reporter:  Arthur Pemberton  |          Owner:  nobody
                   Type:  Bug               |         Status:  new
              Component:  Uncategorized     |        Version:  2.0
               Severity:  Normal            |       Keywords:
           Triage Stage:  Unreviewed        |      Has patch:  0
    Needs documentation:  0                 |    Needs tests:  0
Patch needs improvement:  0                 |  Easy pickings:  0
                  UI/UX:  0                 |
--------------------------------------------+------------------------
 Example  URL: "myscheme://server/group-name/item-name"

 Problem 1: `models.URLField` needs to be subclassed to change allowed
 `schemes`
 Problem 2: `forms.URLField` needs to be subclassed to change allowed
 `schemes`
 Problem 3: `validators.URLValidator` needs to be subclassed to change
 `regex` to allow `netloc` that is a hostname without a domain ad TLD

 At the very least, making these changes should be documented better. The
 message accompanying ValidationError gives no hint as to the source issue
 with a URL.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29311>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.75df4a6d31b3465b0a74167029c32109%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to