aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/url.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/url.lua b/src/url.lua
index eb094d5..1e5a3f6 100644
--- a/src/url.lua
+++ b/src/url.lua
@@ -183,8 +183,9 @@ end
183-- a stringing with the corresponding URL 183-- a stringing with the corresponding URL
184----------------------------------------------------------------------------- 184-----------------------------------------------------------------------------
185function _M.build(parsed) 185function _M.build(parsed)
186 local ppath = _M.parse_path(parsed.path or "") 186 --local ppath = _M.parse_path(parsed.path or "")
187 local url = _M.build_path(ppath) 187 --local url = _M.build_path(ppath)
188 local url = parsed.path or ""
188 if parsed.params then url = url .. ";" .. parsed.params end 189 if parsed.params then url = url .. ";" .. parsed.params end
189 if parsed.query then url = url .. "?" .. parsed.query end 190 if parsed.query then url = url .. "?" .. parsed.query end
190 local authority = parsed.authority 191 local authority = parsed.authority