aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-04-11 17:37:37 +0100
committerMatthew Wild <mwild1@gmail.com>2013-04-11 17:37:37 +0100
commit699f10e1fc74059c276b5dd3e7bb21efe5e956ff (patch)
tree36d4000bf68a76105de081ae5b5f1ba96074de04 /net/http
parent9c5fa338e56457110512493c868f5adc3474eb7c (diff)
downloadprosody-699f10e1fc74059c276b5dd3e7bb21efe5e956ff.tar.gz
prosody-699f10e1fc74059c276b5dd3e7bb21efe5e956ff.zip
net.http.parser: Depend on util.http instead of net.http for urlencode
Diffstat (limited to 'net/http')
-rw-r--r--net/http/parser.lua2
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("//+", "/")));