﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25620	URLValidator regex does not trigger on consecutive periods	Sully	nobody	"The regular expression for [https://docs.djangoproject.com/en/1.8/ref/validators/#urlvalidator URLValidator] accepts consecutive periods as valid. This bug was introduced in 1.8.3.


== Steps to Reproduce ==
{{{
#!python
>>> from django.core.validators import URLValidator
>>> validate = URLValidator()
>>> validate('http://example..com')
>>> validate('http://example...............com')
}}}

== Expected Result ==
A [https://docs.djangoproject.com/en/1.8/ref/exceptions/#validationerror ValidationError] exception should be raised.


== Current Result ==
No exception is raised, and the URL is deemed valid.


== Reference == 
[https://tools.ietf.org/html/rfc2181#section-11 RFC 2181]: 
   The length of any one label is limited to between 1 and 63 octets.  A full domain name is limited to 255 octets (including the separators).  The zero   length full name is defined as representing the root of the DNS tree, and is typically written and displayed as "".""."	Bug	closed	Core (Other)	1.8	Normal	fixed		dheeru.rathor14@…	Accepted	1	0	0	0	0	0
