aboutsummaryrefslogtreecommitdiffstats
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
commit8714ad93a8450c62f876797da349e7b0ed3bf7e1 (patch)
treebd90113c0200508e23d43b0c8e4e45534ff22eaf
parentb007f899d502fa17cdce27dfcb2a288b44ba1e89 (diff)
downloadprosody-8714ad93a8450c62f876797da349e7b0ed3bf7e1.tar.gz
prosody-8714ad93a8450c62f876797da349e7b0ed3bf7e1.zip
net.http.parser: Fix syntax error introduced in c5edb08fc7cb.
-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