Software /
code /
prosody
Diff
net/http/parser.lua @ 5222:61c47d26481d
net.http.parser: Fix syntax error introduced in c5edb08fc7cb.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 03 Dec 2012 10:01:06 +0500 |
parent | 5207:c5edb08fc7cb |
child | 5259:c85c348253bd |
line wrap: on
line diff
--- a/net/http/parser.lua Mon Dec 03 05:50:39 2012 +0500 +++ b/net/http/parser.lua Mon Dec 03 10:01:06 2012 +0500 @@ -5,7 +5,7 @@ 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