#20264: URLValidator should allow underscores in local hostname ------------------------------+-------------------------------------- Reporter: arthurdebert | Owner: nobody Type: Bug | Status: closed Component: Core (Other) | Version: master Severity: Normal | Resolution: invalid Keywords: | Triage Stage: Unreviewed Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 ------------------------------+-------------------------------------- Changes (by bmispelon):
* status: new => closed * cc: bmispelon@… (added) * resolution: => invalid Comment: Hi, RFC 1178 says "Don't use non-alphanumeric characters in a name" and according to its first paragraph, it's merely a set of guidelines. For more technical details, the wikipedia article on hostnames has some good references: https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names The valid characters according to RFC 952 are [a-z0-9-], which is what django uses. -- Ticket URL: <https://code.djangoproject.com/ticket/20264#comment:2> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.