Module: check_mk
Branch: master
Commit: 4a9515d9af52d47412bacf411c206188a16c5107
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4a9515d9af52d4…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Nov 23 16:44:25 2016 +0100
Distributed monitoring: Fixed issue with automation secret containing an "&"
sign
---
web/htdocs/wato.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index e42770f..1746766 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -9560,7 +9560,8 @@ def page_automation_login():
# using the credentials of the administrator. The login is done be exchanging
# a login secret. If such a secret is not yet present it is created on
# the fly.
- html.write_text(repr(get_login_secret(True)))
+ html.set_output_format("python")
+ html.write_html(repr(get_login_secret(True)))
def page_automation():