[xml/sgml-pkgs] Bug#781232: xmlSafeURI: Fails to unparse URI with empty host part
Guido Günther
agx at sigxcpu.org
Thu Mar 26 10:18:49 UTC 2015
Package: libxml2
Version: 2.9.1+dfsg1-5
Severity: normal
Hi,
This currently fails on Jessie (from the libvirt-clients package):
$ virsh -c test:///default uri
test:/default uri
while on Wheezy/Sid it correctly roundtrips the URI:
$ virsh -c test:///default uri
test:///default uri
The reason is that libvirt's virURIFormat invokes xmlSaveURI as shown
here:
http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/util/viruri.c;h=6166c372b048063eebf11a4ba21712784be348d0;hb=HEAD#l252
caused by
0034-xmlSaveUri-incorrectly-recomposes-URIs-with-rootless.patch.
It'd be nice to have this fixed for Jessie since this also breaks
libvirt's testsuite.
Cheers,
-- Guido
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-rc6 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libxml2 depends on:
ii libc6 2.19-15
ii liblzma5 5.1.1alpha+20120614-2+b3
ii multiarch-support 2.19-15
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages libxml2 recommends:
ii xml-core 0.13+nmu2
libxml2 suggests no packages.
-- no debconf information
More information about the debian-xml-sgml-pkgs
mailing list