From: Vsevolod Stakhov Date: Sun, 10 Nov 2013 22:13:22 +0000 (+0000) Subject: Do not escape target string extra time. X-Git-Tag: 0.6.0~76 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cf9ece0a57fb4f19865886958686d75f44e069d3;p=rspamd.git Do not escape target string extra time. --- 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));