]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: file: Don't carelessly sanitize URIs
authorPeter Krempa <pkrempa@redhat.com>
Wed, 8 Apr 2015 08:57:07 +0000 (10:57 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 9 Apr 2015 07:43:36 +0000 (09:43 +0200)
commitfac04598bb2ab24903274002ea3752f6ad54df33
tree31cfb4b66905ecc52d281a80c02bb41cd8d3b54b
parentb8e7facfa758d721329359da121c638356191a66
util: file: Don't carelessly sanitize URIs

rfc3986 states that the separator in URI path is a single slash.
Multiple slashes may potentially lead to different resources and thus we
should not remove them.
src/util/virfile.c
tests/virfiletest.c