[chromium-dev] Re: Are we going to support active FTP?

2009-09-09 Thread Benjamin Smedberg
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

Re: [chromium-dev] Re: opening local files with chrome from command line, relative paths

2010-01-11 Thread Benjamin Smedberg
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 **

Re: [chromium-dev] Re: opening local files with chrome from command line, relative paths

2010-01-20 Thread Benjamin Smedberg
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