projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ca640b
)
net.http.parser: Depend on util.http instead of net.http for urlencode
author
Matthew Wild
<mwild1@gmail.com>
Thu, 11 Apr 2013 16:37:37 +0000
(17:37 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Thu, 11 Apr 2013 16:37:37 +0000
(17:37 +0100)
net/http/parser.lua
patch
|
blob
|
history
diff --git
a/net/http/parser.lua
b/net/http/parser.lua
index 2545b5ac41457b88e345f5a6743650052e43ff40..45a8b1682991a644445cafbac52e052e621bfc2d 100644
(file)
--- a/
net/http/parser.lua
+++ b/
net/http/parser.lua
@@
-2,7
+2,7
@@
local tonumber = tonumber;
local assert = assert;
local url_parse = require "socket.url".parse;
-local urldecode = require "
net
.http".urldecode;
+local urldecode = require "
util
.http".urldecode;
local function preprocess_path(path)
path = urldecode((path:gsub("//+", "/")));