Security: sanitise input when accessing URL files
Security: sanitise input when accessing URL files

Addresses the fact that an attacker could use a URL like the following
to navigate the filesystem and read the first line of arbitrary files
readable by the user running the lzma daemon:

  http://lzma.so/?short=../../../../../etc/passwd

anchor/lzma-url-shortener