From 9eb1be875276c61127663c3860228f03a66ebfbd Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Thu, 20 Feb 2020 09:45:08 +0100 Subject: [PATCH] Part2: Don't fully quality the FQDN in ssbrowser.html for Chrome The web page ssbrowser.html is displayed when the browser doesn't enable javascript. When js is enabled, the content is taken from ipaserver/plugins/internal.py. The commit e4966f9 fixed a string in ssbrowser.html but did not fix the corresponding string in ipaserver/plugins/internal.py, resulting in a different page depending on javascript enabled/not enabled. This commit makes both contents consistent. Fixes: https://pagure.io/freeipa/issue/8201 Reviewed-By: Kaleemullah Siddiqui --- ipaserver/plugins/internal.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index 6ea5c99ac..6f01c473d 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -1754,7 +1754,7 @@ class i18n_messages(Command): "
  • \n" " Enter the name of the domain against which " "you want to authenticate, for example, .example.com.\n" + "example-domain\">.example.com.\n" "
  • \n" "
  • Return to Web UI
  • \n" @@ -1824,7 +1824,7 @@ class i18n_messages(Command): "following line:\n" "
    \n" " { \"AuthServerWhitelist\": \"*.example.com.\" }\n" + "class=\"example-domain\">.example.com\" }\n" "
    \n" "
    \n" " You can do this by running:\n" @@ -1832,7 +1832,7 @@ class i18n_messages(Command): "
    \n" " [root@server]# echo \'{ \"" "AuthServerWhitelist\": \"*" - ".example.com.\" }' > /etc/opt/chrome/policies/managed/" + ".example.com\" }' > /etc/opt/chrome/policies/managed/" "mydomain.json\n" "
    \n" "\n"