aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2012-12-03 10:04:34 +0500
committerWaqas Hussain <waqas20@gmail.com>2012-12-03 10:04:34 +0500
commitaf18d67773bc5b2ce309ba99e7becbb7d80220ba (patch)
tree04c8fa7215db782cc848ff26a081da51d36d205e
parentd753412283d3b5042ad8f47741adcf49ab29621c (diff)
parent1e6906ab0af916dddf8913f97b99ff9ac02c8f4e (diff)
downloadprosody-af18d67773bc5b2ce309ba99e7becbb7d80220ba.tar.gz
prosody-af18d67773bc5b2ce309ba99e7becbb7d80220ba.zip
Merge 0.9->trunk.
-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 = {