diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-13 14:33:20 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-13 14:33:20 +0000 |
commit | 91b47dea987abab037de846c1b2a5b9f0b0e0b27 (patch) | |
tree | 94cc1066d4915f20697bb771678929e9bc6bd348 /lua | |
parent | b125e4af5075a273a5c6336f97207c1bc9c9a29e (diff) | |
download | acf-core-91b47dea987abab037de846c1b2a5b9f0b0e0b27.tar.bz2 acf-core-91b47dea987abab037de846c1b2a5b9f0b0e0b27.tar.xz |
Not all special characters needed to be escaped because within quotes
Diffstat (limited to 'lua')
-rwxr-xr-x | lua/mvc.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/mvc.lua b/lua/mvc.lua index eff7050..e66c95a 100755 --- a/lua/mvc.lua +++ b/lua/mvc.lua @@ -428,8 +428,9 @@ cfe = function ( optiontable ) end _G.cfe = cfe -logevent = function ( ... ) - os.execute ( "logger \"ACF: " .. format.escapespecialcharacters(...) .. "\"" ) +logevent = function ( message ) + os.execute ( "logger \"ACF: " .. string.gsub(message or "", "[`\\\"]", "\\%1") .. "\"" ) + end handle_clientdata = function(form, clientdata) |