Potential patch for #3470

This commit is contained in:
Miroslav Stampar 2019-02-09 15:49:52 +01:00
parent b42c081c0e
commit 9562502744
3 changed files with 4 additions and 4 deletions

View file

@ -77,7 +77,7 @@ class Web:
if not cmd:
cmd = conf.osCmd
cmdUrl = "%s?cmd=%s" % (self.webBackdoorUrl, cmd)
cmdUrl = "%s?cmd=%s" % (self.webBackdoorUrl, getUnicode(cmd))
page, _, _ = Request.getPage(url=cmdUrl, direct=True, silent=True, timeout=BACKDOOR_RUN_CMD_TIMEOUT)
if page is not None: