Software /
code /
prosody
Diff
net/http/parser.lua @ 5460:274c10668fe8
net.http.parser: Depend on util.http instead of net.http for urlencode
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 11 Apr 2013 17:37:37 +0100 |
parent | 5323:4c30f638ff55 |
child | 5461:67b674f6a299 |
line wrap: on
line diff
--- a/net/http/parser.lua Thu Apr 11 17:35:39 2013 +0100 +++ b/net/http/parser.lua Thu Apr 11 17:37:37 2013 +0100 @@ -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("//+", "/")));