aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-10 22:13:22 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-10 22:13:22 +0000
commitcf9ece0a57fb4f19865886958686d75f44e069d3 (patch)
tree772e271132dcc9cf8934f7f23bb2e200e9025d1e /src
parent4dcae5b51390cedeb274a94316bf2dc48ab6a80c (diff)
downloadrspamd-cf9ece0a57fb4f19865886958686d75f44e069d3.tar.gz
rspamd-cf9ece0a57fb4f19865886958686d75f44e069d3.zip
Do not escape target string extra time.
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_rcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_rcl.c b/src/lua/lua_rcl.c
index 543e60cf2..cb5c46252 100644
--- a/src/lua/lua_rcl.c
+++ b/src/lua/lua_rcl.c
@@ -200,7 +200,7 @@ lua_rcl_elt_get (lua_State *L, gint idx)
obj->value.ud = GINT_TO_POINTER (luaL_ref (L, LUA_REGISTRYINDEX));
break;
case LUA_TSTRING:
- obj = ucl_object_fromstring (lua_tostring (L, idx));
+ obj = ucl_object_fromstring_common (lua_tostring (L, idx), 0, 0);
break;
case LUA_TNUMBER:
obj = ucl_object_fromdouble (lua_tonumber (L, idx));