I just released org.conman.parsers.url 2.0.3 [1], a module to parse URLs (as defined in RFC-3986) into an easy to use table. This fixes a bug (maybe adds a feature? I'm classifying it as a bug) where an empty path component returned "" instead of "/" (a default value). It is avaialble via LuaRocks: "luarocks install org.conman.parsers.url". -spc (Enjoy) [1] Source code: https://github.com/spc476/LPeg-Parsers/blob/07e8217c99b4d9ccd1af55d864c1a1c03ef623d9/url.lua