]> source.dussan.org Git - rspamd.git/commitdiff
Do not escape target string extra time.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 10 Nov 2013 22:13:22 +0000 (22:13 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 10 Nov 2013 22:13:22 +0000 (22:13 +0000)
src/lua/lua_rcl.c

index 543e60cf23f6794383c38b37dadf6db8b0d69389..cb5c4625209a4f62b702d0759144f5cca7e1efac 100644 (file)
@@ -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));