Re: [PATCH] qemu_shim: URI escape root directory

2021-02-12 Thread Daniel P . Berrangé
On Fri, Feb 12, 2021 at 05:42:19PM +0100, Michal Privoznik wrote: > The root directory can be provided by user (or a temporary one is > generated) and is always formatted into connection URI for both > secret driver and QEMU driver, like this: > > qemu:///embed?root=$root > > But if it so

[PATCH] qemu_shim: URI escape root directory

2021-02-12 Thread Michal Privoznik
The root directory can be provided by user (or a temporary one is generated) and is always formatted into connection URI for both secret driver and QEMU driver, like this: qemu:///embed?root=$root But if it so happens that there is an URI unfriendly character in root directory or path to it