horizon/horizon/test
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
..
customization Fixed typos in comment for renaming dashboard 2015-09-08 18:05:02 +05:30
dummy_auth Fix horizon/test selenium tests for Django 1.8 2015-09-30 16:41:30 +10:00
jasmine Applying auto-file-discovery partially 2015-06-29 16:04:14 -06:00
messages Add message of the day option 2016-01-22 11:31:36 -08:00
templates Horizon Spinner/Loader should inherit from theme 2017-04-21 11:15:52 -07:00
test_dashboards hacking: noqa cleanup in horizon 2017-03-17 19:38:47 +00:00
tests Fix open redirect 2020-12-21 14:54:39 +01:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
firefox_binary.py Fix docstring warnings 2016-09-24 20:44:48 +09:00
helpers.py Fixes to allow us to use Django 1.11 2017-07-20 01:08:56 +12:00
settings.py Generate unit test HTML reports 2017-05-04 07:23:40 +00:00
test_hacking.py Use flake8-import-order plugin 2017-07-03 08:02:23 +00:00
urls.py hacking: noqa cleanup in horizon 2017-03-17 19:38:47 +00:00
utils.py Fix H405 (multi line docstring) warnings (horizon) 2017-06-09 16:04:57 +00:00
webdriver.py Fix H405 (multi line docstring) warnings (horizon) 2017-06-09 16:04:57 +00:00