mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-21 03:02:09 +00:00
Merge 3ca9de2e00
into cd39c2b53f
This commit is contained in:
commit
f993ee9fd4
@ -561,7 +561,7 @@ def munin_cgi(filename):
|
|||||||
if filename == "":
|
if filename == "":
|
||||||
return ("a path must be specified", 404)
|
return ("a path must be specified", 404)
|
||||||
|
|
||||||
query_str = request.query_string.decode("utf-8", 'ignore')
|
query_str = request.query_string.decode("utf-8", 'ignore').replace('"', r'\"')
|
||||||
|
|
||||||
env = {'PATH_INFO': '/%s/' % filename, 'REQUEST_METHOD': 'GET', 'QUERY_STRING': query_str}
|
env = {'PATH_INFO': '/%s/' % filename, 'REQUEST_METHOD': 'GET', 'QUERY_STRING': query_str}
|
||||||
code, binout = utils.shell('check_output',
|
code, binout = utils.shell('check_output',
|
||||||
|
Loading…
Reference in New Issue
Block a user