horizon/horizon/test/tests
Radomir Dopieralski cd4e6db77a
Fix open redirect
Make sure the "next" URL is in the same origin as Horizon before
redirecting to it.

Conflicts:
	horizon/test/unit/workflows/test_workflows.py

Adapted to work with Django before 1.11 which only has a host argument,
instead of allowed_hosts for django.utils.http.is_safe_url().

Change-Id: I06b2bfc8e3638591615547780c3fa34b0abe19f6
Closes-bug: #1865026
(cherry picked from commit 252467100f)
(cherry picked from commit baa370f843)
(cherry picked from commit 6c208edf32)
(cherry picked from commit 8825407c1b)
2020-12-21 14:54:39 +01:00
..
templates Enable to refresh ngdetails view 2018-02-07 15:19:17 +04:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
babel_extract_angular.py Fix H405 (multi line docstring) warnings (horizon) 2017-06-09 16:04:57 +00:00
base.py Fix Angular errors in openstack_auth 2018-03-29 10:49:55 +09:00
exceptions.py Fix some annotation errors 2017-02-15 00:37:45 +00:00
forms.py Horizon selects are now themable: Launch Instance 2016-06-08 18:25:23 +00:00
messages.py Modify use of assertTrue(A in B) 2016-09-03 11:26:52 +08:00
middleware.py Fix operation_log middleware tests 2017-07-05 15:49:11 +02:00
notifications.py Add message of the day option 2016-01-22 11:31:36 -08:00
selenium_tests.py Modify use of assertTrue(A in B) 2016-09-03 11:26:52 +08:00
tables.py hacking: noqa cleanup in horizon 2017-03-17 19:38:47 +00:00
tabs.py hacking: noqa cleanup in horizon 2017-03-17 19:38:47 +00:00
templatetags.py hacking: Specify white list rules in noqa explicity 2017-05-24 03:03:41 +00:00
test_commands.py Get rid of the <MagicMock> output when the tests run 2017-07-27 16:44:52 +02:00
test_file_discovery.py Use flake8-import-order plugin 2017-07-03 08:02:23 +00:00
utils.py hacking: Specify white list rules in noqa explicity 2017-05-24 03:03:41 +00:00
views.py Document and improve PageTitleMixin readability 2015-02-11 16:16:20 +00:00
workflows.py Fix open redirect 2020-12-21 14:54:39 +01:00