mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.3.X] Altered the behavior of URLField to avoid a potential DOS vector, and to avoid potential leakage of local filesystem data. A security announcement will be made shortly.
Backport of r16760 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -15,6 +15,7 @@ class ModelToValidate(models.Model): | ||||
|     parent = models.ForeignKey('self', blank=True, null=True, limit_choices_to={'number': 10}) | ||||
|     email = models.EmailField(blank=True) | ||||
|     url = models.URLField(blank=True) | ||||
|     url_verify = models.URLField(blank=True, verify_exists=True) | ||||
|     f_with_custom_validator = models.IntegerField(blank=True, null=True, validators=[validate_answer_to_universe]) | ||||
|  | ||||
|     def clean(self): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user