aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bulkredirect.lua3
-rw-r--r--t/f.tab5
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
diff --git a/t/f.tab b/t/f.tab
new file mode 100644
index 0000000..d8b6015
--- /dev/null
+++ b/t/f.tab
@@ -0,0 +1,5 @@
+option urlencode
+[example.org]
+/lørdag /saturday
+/lørdag?q=1 /satq?q=1
+/s%c3%b8ndag /sunday nourlencode

Return to:

Send suggestions and report system problems to the System administrator.