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 <ksiddiqu@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2020-02-20 09:45:08 +01:00
parent 51fcca5352
commit 9eb1be8752

View File

@ -1754,7 +1754,7 @@ class i18n_messages(Command):
"<li>\n" "<li>\n"
" Enter the name of the domain against which " " Enter the name of the domain against which "
"you want to authenticate, for example, <code class=\"" "you want to authenticate, for example, <code class=\""
"example-domain\">.example.com.</code>\n" "example-domain\">.example.com</code>.\n"
"</li>\n" "</li>\n"
"<li><a href=\"../ui/index.html\" id=\"return-link\" class=\"" "<li><a href=\"../ui/index.html\" id=\"return-link\" class=\""
"btn btn-default\">Return to Web UI</a></li>\n" "btn btn-default\">Return to Web UI</a></li>\n"
@ -1824,7 +1824,7 @@ class i18n_messages(Command):
"following line:\n" "following line:\n"
"<div><code>\n" "<div><code>\n"
" { \"AuthServerWhitelist\": \"*<span " " { \"AuthServerWhitelist\": \"*<span "
"class=\"example-domain\">.example.com.</span>\" }\n" "class=\"example-domain\">.example.com</span>\" }\n"
"</code></div>\n" "</code></div>\n"
"<div>\n" "<div>\n"
" You can do this by running:\n" " You can do this by running:\n"
@ -1832,7 +1832,7 @@ class i18n_messages(Command):
"<div><code>\n" "<div><code>\n"
" [root@server]# echo \'{ \"" " [root@server]# echo \'{ \""
"AuthServerWhitelist\": \"*<span class=\"example-domain\">" "AuthServerWhitelist\": \"*<span class=\"example-domain\">"
".example.com.</span>\" }' > /etc/opt/chrome/policies/managed/" ".example.com</span>\" }' > /etc/opt/chrome/policies/managed/"
"mydomain.json\n" "mydomain.json\n"
"</code></div>\n" "</code></div>\n"
"</li>\n" "</li>\n"