Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed the fix from [7775].

The previous change was failing Django's "check for well-formed domain name"
validation, rather than failing on the network side. Providing we don't ever
set up www.broken.djangoproject.com as a valid domain name, this change should
let us control our own destiny.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit be6ff148c18f7e60802ea4e1b14bb5a0ee169a95 1 parent 40d2b41
Malcolm Tredinnick authored June 28, 2008
2  tests/regressiontests/forms/error_messages.py
@@ -237,7 +237,7 @@
237 237
 Traceback (most recent call last):
238 238
 ...
239 239
 ValidationError: [u'INVALID']
240  
->>> f.clean('http://www.test.invalid')
  240
+>>> f.clean('http://www.broken.djangoproject.com')
241 241
 Traceback (most recent call last):
242 242
 ...
243 243
 ValidationError: [u'INVALID LINK']
2  tests/regressiontests/forms/fields.py
@@ -887,7 +887,7 @@
887 887
 Traceback (most recent call last):
888 888
 ...
889 889
 ValidationError: [u'Enter a valid URL.']
890  
->>> f.clean('http://www.test.invalid') # bad domain
  890
+>>> f.clean('http://www.broken.djangoproject.com') # bad domain
891 891
 Traceback (most recent call last):
892 892
 ...
893 893
 ValidationError: [u'This URL appears to be a broken link.']

0 notes on commit be6ff14

Please sign in to comment.
Something went wrong with that request. Please try again.