[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH 2/2] actions: turn some params into RelativePathnameList (RHBZ#1174551).



On Tue, Oct 20, 2015 at 06:17:59PM +0200, Pino Toscano wrote:
> I don't know that :) I mean, considering even our code (see my change
> in test-big-dirs.pl) was passing more than just a filename in the
> specified path, then I thought relative filenames were somehow intended,
> and thus I just rejected absolute ones.
> 
> I'm open to both positions though, either what I proposed in the patches
> or just reject any file name not in the current directory.

I think reject any filename which contains a slash char.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]