diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-04-11 17:37:37 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-04-11 17:37:37 +0100 |
commit | 07ca080e07a5e80dd6b4349960b6ca01547d4f21 (patch) | |
tree | 36d4000bf68a76105de081ae5b5f1ba96074de04 | |
parent | 09a18297ad321571a1a36b32361ad212c7ad5692 (diff) | |
download | prosody-07ca080e07a5e80dd6b4349960b6ca01547d4f21.tar.gz prosody-07ca080e07a5e80dd6b4349960b6ca01547d4f21.zip |
net.http.parser: Depend on util.http instead of net.http for urlencode
-rw-r--r-- | net/http/parser.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/parser.lua b/net/http/parser.lua index 2545b5ac..45a8b168 100644 --- 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("//+", "/"))); |