aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2012-12-03 10:01:06 +0500
committerWaqas Hussain <waqas20@gmail.com>2012-12-03 10:01:06 +0500
commit21e1888c03fca741105a53163d69afa94e0d2c0b (patch)
treebd90113c0200508e23d43b0c8e4e45534ff22eaf /net
parent52a43878396f739d35f49a6194241878c47f6b26 (diff)
downloadprosody-21e1888c03fca741105a53163d69afa94e0d2c0b.tar.gz
prosody-21e1888c03fca741105a53163d69afa94e0d2c0b.zip
net.http.parser: Fix syntax error introduced in c5edb08fc7cb.
Diffstat (limited to 'net')
-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