aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/parser.lua
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
commita89701cbd8943fe768a38ecd06e6ea954ec7d7ca (patch)
tree04c8fa7215db782cc848ff26a081da51d36d205e /net/http/parser.lua
parent3f690f3c1dcf3d77e2d3ee818ec2b3bd52a47d55 (diff)
parent36df4aa5d680b19acfbda49200feba54da3097c4 (diff)
downloadprosody-a89701cbd8943fe768a38ecd06e6ea954ec7d7ca.tar.gz
prosody-a89701cbd8943fe768a38ecd06e6ea954ec7d7ca.zip
Merge 0.9->trunk.
Diffstat (limited to 'net/http/parser.lua')
-rw-r--r--net/http/parser.lua2
1 files changed, 1 insertions, 1 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