aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorPavel Podkorytov <pod.pavel@gmail.com>2022-05-21 15:53:00 +0500
committerPavel Podkorytov <pod.pavel@gmail.com>2022-05-21 15:53:00 +0500
commitf0c746420bb4e979800bdc11ec6d8d4e6ef10c06 (patch)
tree1bf94e68b6cbdb2497054e70466d7457a20da83f /lualib
parentfbb7db65a5cf50dc642550688407e724d56ebe34 (diff)
downloadrspamd-f0c746420bb4e979800bdc11ec6d8d4e6ef10c06.tar.gz
rspamd-f0c746420bb4e979800bdc11ec6d8d4e6ef10c06.zip
Revert "[Minor] fix lower transformation for utf symbols"
This reverts commit fbb7db65a5cf50dc642550688407e724d56ebe34.
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_selectors/transforms.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lualib/lua_selectors/transforms.lua b/lualib/lua_selectors/transforms.lua
index aed5b246d..28ae2c315 100644
--- a/lualib/lua_selectors/transforms.lua
+++ b/lualib/lua_selectors/transforms.lua
@@ -17,7 +17,6 @@ limitations under the License.
local fun = require 'fun'
local lua_util = require "lua_util"
local rspamd_util = require "rspamd_util"
-local rspamd_text = require "rspamd_text"
local ts = require("tableshape").types
local logger = require 'rspamd_logger'
local common = require "lua_selectors/common"
@@ -37,7 +36,7 @@ local transform_function = {
},
['map_type'] = 'string',
['process'] = function(inp, _)
- return rspamd_text.fromstring(inp):lower(true),'string'
+ return inp:lower(),'string'
end,
['description'] = 'Returns the lowercased string',
},