Software /
code /
prosody
Diff
net/http/parser.lua @ 5224:ba51d0917c64
Merge 0.9->trunk.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 03 Dec 2012 10:04:34 +0500 |
parent | 5222:61c47d26481d |
child | 5259:c85c348253bd |
line wrap: on
line diff
--- a/net/http/parser.lua Mon Dec 03 06:07:00 2012 +0500 +++ b/net/http/parser.lua Mon Dec 03 10:04:34 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