Bug#408873: llgal: fails when directory names contain shell meta characters

2007-01-28 Thread Brice Goglin
Jeremie Koenig wrote: > I found it looking at the code, but the double quotes won't protect > double quotes, dollar signs or backquotes within filenames from being > interpreted by the shell. Here is an example: > > [EMAIL PROTECTED]:~/test$ ls -l > total 532 > -rw-r--r-- 1 jk jk 535037 2007-01-28

Bug#408873: llgal: fails when directory names contain shell meta characters

2007-01-28 Thread Jeremie Koenig
On Sun, Jan 28, 2007 at 11:26:49PM +0100, Brice Goglin wrote: > Jeremie Koenig wrote: [...] > > I also noticed two similar problems with the generation of thumbnails > > and scaled images (llgal.in, lines 597 and 690): [...] > This case is supposed to be protected by double-quotes. Did you actually

Bug#408873: llgal: fails when directory names contain shell meta characters

2007-01-28 Thread Brice Goglin
Jeremie Koenig wrote: > This is caused by the following piece of code (llgal.in, line 1587): > -- > # remove old webpages > system ("rm -f > $self->{destination_dir}$opts->{slide_filenameprefix}*.$opts->{www_extension}") > ; > die "Failed to remove existing webpages.\n" if $? ; > -- >

Bug#408873: llgal: fails when directory names contain shell meta characters

2007-01-28 Thread Jeremie Koenig
Package: llgal Version: 0.13.9-1 Severity: normal Tags: patch Hello, I get the following error when llgal tries to proceed a directory with shell metacharacters: -- Entering subdirectory 'camping (presque) sauvage'... Listing entries in . :100.00% Preparing entries:100.00%