﻿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
20003	URLValidator does not accept urls with usernames or passwords in them	marshall@…	Tim Graham <timograham@…>	"{{{ 
In [1]: URLValidator()('https://user:pass@from django.core.validators import URLValidator

In [2]: from django.core.validators importURLValidator()('https://user:pass@domain.com')
---------------------------------------------------------------------------
ValidationError                           Traceback (most recent call last)
<ipython-input-2-3adf7dbac94c> in <module>()
----> 1 URLValidator()('https://user:pass@domain.com')

/Users/marshall/.virtualenvs/django/lib/python2.7/site-packages/django/core/validators.pyc in __call__(self, value)
     72                     raise e
     73                 url = urlparse.urlunsplit((scheme, netloc, path, query, fragment))
---> 74                 super(URLValidator, self).__call__(url)
     75             else:
     76                 raise

/Users/marshall/.virtualenvs/django/lib/python2.7/site-packages/django/core/validators.pyc in __call__(self, value)
     42         """"""
     43         if not self.regex.search(smart_unicode(value)):
---> 44             raise ValidationError(self.message, code=self.code)
     45 
     46 class URLValidator(RegexValidator):

ValidationError: [u'Enter a valid value.']
}}}
"	Bug	closed	Core (Other)	1.5	Normal	fixed	URLValidator	gezuru@…	Accepted	1	0	0	0	0	0
