This Lua library allows you to normalize and validate URIs/URLs in Lua programs, and provides methods for manipulating them in various ways. In particular, you can resolve relative URI references to create absolute URIs.
The lua-uri library is written in pure Lua. No C compilation is required to install it.
The lua-uri user manual explains how to use the module. It is also installed as a man page when you install the package. There are other pages of documentation which describe the specific behaviour of the library when dealing with particular URI schemes, like HTTP or FTP.
Please use the lua-uri project page on LuaForge to report bugs.
Downloads
Currently only one version has been released, v1.0, released 2007-11-30. The source packages contain the library, its test suite, documentation, and the stuff needed to make your own Debian packages if mine aren't suitable. The tar and zip source packages contain the same things.