]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virStorageSourceNetCookieValidate: Accept quoted cookie value
authorPeter Krempa <pkrempa@redhat.com>
Wed, 25 Mar 2020 15:06:39 +0000 (16:06 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 27 Mar 2020 14:46:52 +0000 (15:46 +0100)
commitb9166baebe70a4b3577ddb6b2ee6af0dd4f60759
tree3de73d7cb2b90144e9ea52d07628ece1e7c89bd7
parentc34ec56abad4b2286ef82a0a3ab9deb4d807a9bf
virStorageSourceNetCookieValidate: Accept quoted cookie value

The quotes are forbidden only inside the value, but the value itself may
be enclosed in quotes. Fix the RNG schema and validator and add a test
case.

https://bugzilla.redhat.com/show_bug.cgi?id=1804750

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/schemas/domaincommon.rng
src/util/virstoragefile.c
tests/qemuxml2argvdata/disk-network-http.x86_64-latest.args
tests/qemuxml2argvdata/disk-network-http.xml
tests/qemuxml2xmloutdata/disk-network-http.x86_64-latest.xml