summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/util.lua
diff options
context:
space:
mode:
authorPaul Oranje <p.oranje@xs4all.nl>2015-05-02 10:44:17 +0200
committerPaul Oranje <p.oranje@xs4all.nl>2015-05-02 10:44:17 +0200
commitae8e971eef2be269beab9465139869055918d878 (patch)
tree5314a2d5b494884271d8900cba6afc348952279b /modules/luci-base/luasrc/util.lua
parent4742d1c2112ace9d1299c69fb086c1646bb04911 (diff)
parent36879e9e8658601dc3e86ff9251da3fc3666efe0 (diff)
Merge branch 'master' of https://github.com/openwrt/luci into proto=ipv6+aiccu+fixes
Diffstat (limited to 'modules/luci-base/luasrc/util.lua')
-rw-r--r--modules/luci-base/luasrc/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/util.lua b/modules/luci-base/luasrc/util.lua
index 8b28b1752d..dcf8230b3e 100644
--- a/modules/luci-base/luasrc/util.lua
+++ b/modules/luci-base/luasrc/util.lua
@@ -643,7 +643,7 @@ function serialize_json(x, cb)
push(tostring(x))
end
else
- push('"%s"' % tostring(x):gsub('["%z\1-\31]',
+ push('"%s"' % tostring(x):gsub('["%z\1-\31\\]',
function(c) return '\\u%04x' % c:byte(1) end))
end