aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/http/parser.lua2
-rw-r--r--util/xml.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/http/parser.lua b/net/http/parser.lua
index 606d750c..c760a0a4 100644
--- a/net/http/parser.lua
+++ b/net/http/parser.lua
@@ -5,7 +5,7 @@ local url_parse = require "socket.url".parse;
local urldecode = require "net.http".urldecode;
local function preprocess_path(path)
- path = urldecode((path:gsub("//+". "/")));
+ path = urldecode((path:gsub("//+", "/")));
if path:sub(1,1) ~= "/" then
path = "/"..path;
end
diff --git a/util/xml.lua b/util/xml.lua
index db446bc3..076490fa 100644
--- a/util/xml.lua
+++ b/util/xml.lua
@@ -2,7 +2,7 @@
local st = require "util.stanza";
local lxp = require "lxp";
-module("template")
+module("xml")
local parse_xml = (function()
local ns_prefixes = {