-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
Hi Michael,
I notice a small issue in sending Q symbol with backtick; Actually we need an extra space to escape the leading backtick. I just tested following code :
var nodeq = require("node-q");
nodeq.connect({host: "localhost", port: 5000}, function(err, con) {
if (err) throw err;
con.k("`a`b`c", function(err, res) {
if (err) throw err;
console.log("result", res); // Error a`b`c
});
con.k(" `a`b`c", function(err, res) {
if (err) throw err;
console.log("result", res); // "result" [ 'a', 'b', 'c' ]
});
});
We can hack it on user side by adding extra space to query string, but is it possible to fix it at package level ?
Thanks,
Duo