Re: FEATURE REQUEST: Allow SSH style URLS (with extra colon)
Petr Baudis <pasky@suse.cz> writes:
Show 10 quoted lines
> On Sat, Jan 30, 2010 at 06:57:56PM +0200, Jari Aalto wrote:
>>
>> An example:
>>
>> ssh://foo@examplecom:/path
>> |
>> Allowed
>
> But that's not an URL anymore. If you want to use ssh pathspec, write it
> as a pathspec, not an URL. Just foo@example.com:/path works fine. ;-)
The way URLs are defined is:
<scheme>:<scheme-specific-part>
so if somebody defines his "ssh" scheme to allow any random garbage, its their URL and you cannot say "that is not an URL", unless you qualify your statement with "I want to keep ssh scheme consistent with the common internet scheme syntax".
As I think "ssh://..." is simply moronic, I don't even care to "keep" the scheme specific part consistent with the common internet scheme syntax to begin with. I agree with your conclusion, though ;-)
scp syntax works just fine.