From 8714ad93a8450c62f876797da349e7b0ed3bf7e1 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 3 Dec 2012 10:01:06 +0500 Subject: net.http.parser: Fix syntax error introduced in c5edb08fc7cb. --- net/http/parser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3 From 36df4aa5d680b19acfbda49200feba54da3097c4 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 3 Dec 2012 10:01:46 +0500 Subject: util.xml: Fix module name. --- util/xml.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = { -- cgit v1.2.3