[xml/sgml-pkgs] Bug#781232: xmlSafeURI: Fails to unparse URI with empty host part

Guido Günther agx at sigxcpu.org
Fri Aug 28 15:00:32 UTC 2015


On Sun, May 24, 2015 at 01:01:42PM +0200, Guido Günther wrote:
> On Thu, Mar 26, 2015 at 11:18:49AM +0100, Guido Günther wrote:
> > 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.
> 
> I should add that it also works in sid. I'm inclined to bump the
> severity since currently libvirt is unbuildable on jessie due to that.

Sid is now affected as well since it went back to 1.9.1 + the Debian patches
that cause the breackage.
Cheers,
 -- Guido



More information about the debian-xml-sgml-pkgs mailing list