luci-base: switch to lucihttp.urldecode() and lucihttp.urlencode()
[project/luci.git] / modules / luci-base / luasrc / http.lua
index 9cc9857867a430d00c67be669249685fa483daf2..1b03f792b0e6107e2cdc5fa52a8b5d4e76021f0f 100644 (file)
@@ -267,9 +267,9 @@ function build_querystring(q)
        return table.concat(s, "")
 end
 
-urldecode = protocol.urldecode
+urldecode = util.urldecode
 
-urlencode = protocol.urlencode
+urlencode = util.urlencode
 
 function write_json(x)
        util.serialize_json(x, write)