]> xenbits.xensource.com Git - libvirt.git/commit
conf: Don't format http cookies unless VIR_DOMAIN_DEF_FORMAT_SECURE is used
authorPeter Krempa <pkrempa@redhat.com>
Tue, 14 Apr 2020 08:31:02 +0000 (10:31 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 14 Apr 2020 16:47:49 +0000 (18:47 +0200)
commita5b064bf4b17a9884d7d361733737fb614ad8979
treeb560ecb6ef70300a0e09baa22c7c64d360c7d8f1
parent524de6cc35d3b222f0e940bb0fd027f5482572c5
conf: Don't format http cookies unless VIR_DOMAIN_DEF_FORMAT_SECURE is used

Starting with 3b076391befc3fe72deb0c244ac6c2b4c100b410
(v6.1.0-122-g3b076391be) we support http cookies. Since they may contain
somewhat sensitive information we should not format them into the XML
unless VIR_DOMAIN_DEF_FORMAT_SECURE is asserted.

Reported-by: Han Han <hhan@redhat.com>
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/conf/domain_conf.c