Module: check_mk
Branch: master
Commit: ed69edbe882515c17cd69575e6515a5fb2c3af09
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ed69edbe882515…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Aug 13 13:37:47 2014 +0200
webapi: fixed exception on parsing request
---
web/htdocs/webapi.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/webapi.py b/web/htdocs/webapi.py
index 5ea81c7..e827dc7 100644
--- a/web/htdocs/webapi.py
+++ b/web/htdocs/webapi.py
@@ -106,7 +106,7 @@ def page_api():
request_object = {}
if html.var("request"):
if api_actions[action].get("dont_eval_request"):
- request_object = request
+ request_object = html.var("request")
else:
eval_function = None
request = html.var("request")