|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2 |
Date: | Wed, 06 May 2009 17:49:17 +0300 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Anthony Liguori wrote:
So what should the generic escaping look like?-drive file=my-silly\:filename\,with\ strange\ charactersI see no reason to do anything overly complicated. Of course, if you're in a shell, you'll have to double escape unless you've got single quotes around it. That's a good argument for file: in addition to escaping.
With backslash escaping, I never know how many backslashes I end up with. They're also the path separators in one OS.
I'd go with URL separating: -drive file=file:my-silly%3afilename%2cwith%20strange%20characters -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.
[Prev in Thread] | Current Thread | [Next in Thread] |