Aymeric Augustin 8dc11dc592 [1.9.x] Fixed #25302 (again) -- Ignored scheme when checking for bad referers.
The check introduced in 4ce433e was too strict in real life. The poorly
implemented bots this patch attempted to ignore are sloppy when it comes
to http vs. https.

Backport of 11f10b7 from master
2015-11-27 08:12:49 +01:00
..
2013-12-24 12:25:17 +01:00
2015-08-22 20:25:42 +02:00
2015-04-27 08:40:36 -04:00
2015-04-27 08:40:36 -04:00
2015-08-22 20:25:42 +02:00
2015-02-06 12:58:45 +01:00

To run the test suite:

$ cd tests
$ pip install -r requirements/py3.txt  # or py2.txt
$ PYTHONPATH=..:$PYTHONPATH ./runtests.py

For more information about the test suite, see https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.