51b099c79e
If enforce_ssl is set to true in openstack-dashboard, a user is redirected to the IP address of the server, not its hostname. This boils down to the template used to construct the site, which is always fed an IP address by horizon_context.py. Instead of using an IP address, use the result of resolve_address. (This is part of an odd quirk whereby the charm doesn't use the standard https tooling but does its own. A conversion to standard tooling would be required for a full fix to #1664954.) Closes-Bug: #1689882 Related-Bug: #1664954 Change-Id: I93365b75211e3c48d64ba8510898750dbc7b73cd Signed-off-by: Daniel Axtens <dja@axtens.net> |
||
---|---|---|
.. | ||
__init__.py | ||
test_actions_git_reinstall.py | ||
test_actions_openstack_upgrade.py | ||
test_actions.py | ||
test_horizon_contexts.py | ||
test_horizon_hooks.py | ||
test_horizon_utils.py | ||
test_utils.py |