Thomas Arendsen Hein <thomas@intevation.de> [Fri, 22 Feb 2008 21:58:15 +0100] rev 6165
Allow "file://localhost/" in addition to "file:///" (issue728)
file://localhost/ URLs are generated by Mac OS X API calls like
[NSURL fileURLWithPath:].
Imported patch from Paul Bx.