From 81dafb1cbe4f3427bb3bcbc476e352c03cd4186b Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Thu, 17 Dec 2009 00:57:16 +0000 Subject: [PATCH] Add todo comment to consider handling quoted JS arguments with spaces as as single argument (strip quotes too?). --- src/sbbs3/exec.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sbbs3/exec.cpp b/src/sbbs3/exec.cpp index 3fbeaa8281..66e4bbe20b 100644 --- a/src/sbbs3/exec.cpp +++ b/src/sbbs3/exec.cpp @@ -610,6 +610,7 @@ long sbbs_t::js_execfile(const char *cmd) JS_DefineProperty(js_cx, js_scope, "argv", OBJECT_TO_JSVAL(argv) ,NULL,NULL,JSPROP_READONLY|JSPROP_ENUMERATE); + /* TODO: Handle quoted "one arg" syntax here? */ if(args!=NULL && argv!=NULL) { while(*args) { p=strchr(args,' '); -- GitLab