Module: check_mk
Branch: master
Commit: c16a63365782faf238fd4a107865579e5b1bc6b0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c16a63365782fa…
Author: Sven Rueß <sr(a)mathias-kettner.de>
Date: Mon Mar 23 16:06:49 2015 +0100
Fixed folder view in WATO configuration with HTML entities
---
web/htdocs/wato.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 7aa60c6..b58f738 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -14455,7 +14455,7 @@ def folder_selection(folder, depth=0):
title_prefix = " " * depth + "`
" + "- " * depth
else:
title_prefix = ""
- sel = [ (folder[".path"], title_prefix + folder["title"]) ]
+ sel = [ (folder[".path"], HTML(title_prefix +
html.attrencode(folder["title"]))) ]
subfolders = sorted(folder[".folders"].values(), cmp = lambda x,y :
cmp(x.get("title").lower(), y.get("title").lower()))
for subfolder in subfolders: