﻿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
21532	Django URLValidator fails on some valid URLs	Danilo Bargen	nobody	"This raises a ValidationError, even though the URL is valid:

{{{
#!python
>>> from django.core.validators import URLValidator
>>> validator = URLValidator()
>>> validator('http://user:password@1.2.3.4:80/')
Traceback (most recent call last):
  File ""<stdin>"", line 1, in <module>
  File ""/home/danilo/.virtualenvs/test/lib/python2.7/site-packages/django/core/validators.py"", line 66, in __call__
    super(URLValidator, self).__call__(url)
  File ""/home/danilo/.virtualenvs/test/lib/python2.7/site-packages/django/core/validators.py"", line 39, in __call__
    raise ValidationError(self.message, code=self.code)
django.core.exceptions.ValidationError
}}}

Maybe we need to go over the RegEx used? This could be used for testing: http://mathiasbynens.be/demo/url-regex"	Bug	closed	Core (URLs)	1.6	Normal	duplicate	validation, regex		Unreviewed	0	0	0	0	0	0
