Skip to content

Commit 0ad0453

Browse files
committed
Fixed escaping of scheduling commands in server log
1 parent a84c253 commit 0ad0453

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/taco_server.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def do_POST(self):
2222
if len(cmd) > 1024:
2323
raise Exception
2424

25-
prettyCmd = "taco \"" + cmd.replace(" ", "\" ", 1)
25+
prettyCmd = "taco " + cmd
26+
cmd = cmd.replace("\"", "")
2627

2728
logFile = "/home/ubuntu/success.log"
2829
tacoPath = "/home/ubuntu/taco/build/bin/taco"

0 commit comments

Comments
 (0)