flowhub / jsjob

Run arbitrary JavaScript code as jobs, in a browser-based sandbox.
MIT License
18 stars 0 forks source link

Fix JSON parser error when input has </script> tag #14

Closed jonnor closed 8 years ago

forresto commented 8 years ago

I got a json parse error with https://thegrid.ai/aaa-fo-test/ now https://thegrid.slack.com/archives/taylorfails/p1471830897000142

[JS ERROR: SyntaxError: JSON Parse error: Expected ':' poly: main start runner script load Opening: http://localhost:8091/solve/96a3e9ff-0bd7-4b3f-9264-b709c51e64a5

jonnor commented 8 years ago

@forrest indeed! Should be fixed in new PR, https://github.com/the-grid/jsjob/pull/15