[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2 |
Date: |
Wed, 06 May 2009 16:11:19 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090320) |
Anthony Liguori schrieb:
> I've changed my mind. I think file: makes the situation worse because
> it gives a false sense of security. If you just pass
> file:<user-inputed-filename> you are broken. You still have to escape
> commas. If you're escaping commas, you might as well escape colons too.
>
> I think escaping is the only complete solution.
You're completely right if we don't limit the discussion to colons. I'm
not sure if breaking colons really makes tools aware that they need to
take care of commas, but "it's broken anyway" is a reasonable answer if
we can have a generic fix (and we can have it here).
So what should the generic escaping look like?
And I still think we should do something about colons, they are much
more common in paths than commas. Even more so on Windows, I guess.
Should we still implement the strategy "anything that isn't a valid
protocol must be a local file"?
Kevin
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, (continued)
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Alexander Graf, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Anthony Liguori, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Avi Kivity, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Anthony Liguori, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, François Revol, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Anthony Liguori, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Daniel P. Berrange, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Anthony Liguori, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Kevin Wolf, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Anthony Liguori, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2,
Kevin Wolf <=
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Anthony Liguori, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Alexander Graf, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Avi Kivity, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Anthony Liguori, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Jamie Lokier, 2009/05/08
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Kevin Wolf, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Anthony Liguori, 2009/05/06
- Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Jamie Lokier, 2009/05/06
Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v2, Anthony Liguori, 2009/05/06