allow URIs of the form file:///etc/hosts
authorAndy Wingo <wingo@pobox.com>
Tue, 6 Dec 2011 10:47:41 +0000 (11:47 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 6 Dec 2011 10:47:41 +0000 (11:47 +0100)
commit679eea4f0ef7720e0ed3c9ba3fddedf35d1501d6
tree46eb9e23077dbf68e23ce4b766f228d467cde091
parentfe0c202c0ea4ec1ab502b7e26fa70c9e734e8f6c
allow URIs of the form file:///etc/hosts

* module/web/uri.scm (parse-authority): Allow empty authorities, so that
  we accept URIs of the form, file:///etc/hosts.
* test-suite/tests/web-uri.test ("string->uri"): Add tests.
module/web/uri.scm
test-suite/tests/web-uri.test