From eda0fa8f2a48cc0e0cc7d4c982dfa36b6b9aa47e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 25 Nov 2020 16:39:51 +0000 Subject: [PATCH] [Minor] Remove tostring --- lualib/lua_selectors/extractors.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib/lua_selectors/extractors.lua b/lualib/lua_selectors/extractors.lua index ce88445e8b..3f6dc61ee4 100644 --- a/lualib/lua_selectors/extractors.lua +++ b/lualib/lua_selectors/extractors.lua @@ -368,7 +368,7 @@ the second argument is optional and defines the type (string by default)]], ['get_value'] = function(task, args) local hdr = task:get_request_header(args[1]) if hdr then - return tostring(hdr),'string' + return hdr,'string' end return nil -- 2.47.3