diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2021-03-19 10:38:54 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2021-03-19 10:39:14 +0200 |
commit | ef152fcb50337cf30827db0cc86bcbfa3b16e09d (patch) | |
tree | f0de51be311359073e782f27fa53f8e054ae2459 | |
parent | 4dfc07c3ff5062fbe4f6cb02698b13d1762cf7a3 (diff) | |
download | haproxy-bulkredirect-ef152fcb50337cf30827db0cc86bcbfa3b16e09d.tar.gz haproxy-bulkredirect-ef152fcb50337cf30827db0cc86bcbfa3b16e09d.tar.bz2 |
Add missing test config
-rw-r--r-- | bulkredirect.lua | 3 | ||||
-rw-r--r-- | t/f.tab | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bulkredirect.lua b/bulkredirect.lua index ac24e42..b8eab35 100644 --- a/bulkredirect.lua +++ b/bulkredirect.lua @@ -326,7 +326,6 @@ local function set_dst (dt, src, dst) elseif type(dt[path]) == 'string' then dt[path] = { { dt[path] }, {} } end - core.Info(require('inspect')(dt[path])) dt[path][2][query] = dst elseif type(dt[src]) == 'table' then dt[src][1] = dst @@ -507,7 +506,7 @@ local function load_redirect_table () if not status then core.Alert(err) end --- print(require('inspect')(rt)) + -- print(require('inspect')(rt)) else core.Alert("can't open " .. name .. ": " .. err) end @@ -0,0 +1,5 @@ +option urlencode +[example.org] +/lørdag /saturday +/lørdag?q=1 /satq?q=1 +/s%c3%b8ndag /sunday nourlencode |