Fix base_parsed global in url module

This commit is contained in:
mpeterv 2016-02-11 15:54:59 +03:00
parent 3c3a5d0011
commit 700ece0721

View File

@ -219,6 +219,7 @@ end
-- corresponding absolute url
-----------------------------------------------------------------------------
function _M.absolute(base_url, relative_url)
local base_parsed
if base.type(base_url) == "table" then
base_parsed = base_url
base_url = _M.build(base_parsed)