projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
404520e
)
net.http.parser: Fix syntax error introduced in c5edb08fc7cb.
author
Waqas Hussain
<waqas20@gmail.com>
Mon, 3 Dec 2012 05:01:06 +0000
(10:01 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Mon, 3 Dec 2012 05:01:06 +0000
(10:01 +0500)
net/http/parser.lua
patch
|
blob
|
history
diff --git
a/net/http/parser.lua
b/net/http/parser.lua
index 606d750c8a18aba1e63e28c3c9542ecbf67bc256..c760a0a44453850a202c962a434fe15bae715d9e 100644
(file)
--- 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