[libvirt] parsing url with percent sign when user want to use iso disk via http

Vasiliy Tolstov v.tolstov at selfip.ru
Tue Jan 19 12:15:05 UTC 2016


I found a strange thing, when i specify url for iso in libvirt xml like:

qemu gets invalid url in cmdline
i think that problem is
qemu/qemu_command.c:3430:            ret = virURIFormat(uri);

test string looks like  https://alukardd.org/data/test?t=1
qemu gets url with percent urlencoded %3F , in this case http server
get not test with param t=1 but filename test%3Ft=1 so this is not
right.

why libvirt try to fix contructed url ?
does it safe to delete this line ?

-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru




More information about the libvir-list mailing list