|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2 |
Date: | Wed, 06 May 2009 13:15:01 +0300 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Daniel P. Berrange wrote:
Oh and if you want to be really nice, you could say that any filename with a leading '/' is implicitly file:///, since I can't imagine any protocol name starting with a '/'. And this would ensure any existing usage with absolute filenames 'just works' without tripping up on colons.
A protocol should match ^[a-zA-Z][a-zA-Z0-9_-]*://, anything else is a file. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.
[Prev in Thread] | Current Thread | [Next in Thread] |