This is http://code.google.com/p/chromium/issues/detail?id=3073 . I think
it's not so hard to implement it (and probably not so high priority either),
but are there any potential security (or other) problems?
I can't think of any. It would be nice to have active support. I'm not
sure how
For what it's worth, the way Firefox solves this is:
* Check if the file is an absolute file path
** on Windows, X:\... or \\...
** on Posix, /...
* Otherwise, it's a URL relative to the current working directory
** So index.html resolves using the URL machinery to
file:///c:/cwd/index.html
**
1) if there is a ':' in the URI, you split the URI into scheme and
scheme-specific part.
No. The first check is is this an absolute file path. That check is done
with platform-specific logic:
#if windows
if the path matches letter:\ or \\...
#else
if the path starts with a slash
#endif
Then