|
Tim Waugh |
cd101f |
diff -U0 foomatic-filters-3.0-20080904/ChangeLog.ppd-filenames foomatic-filters-3.0-20080904/ChangeLog
|
|
Tim Waugh |
cd101f |
--- foomatic-filters-3.0-20080904/ChangeLog.ppd-filenames 2008-09-04 08:20:14.000000000 +0100
|
|
Tim Waugh |
311e52 |
+++ foomatic-filters-3.0-20080904/ChangeLog 2008-09-23 09:58:01.000000000 +0100
|
|
Tim Waugh |
311e52 |
@@ -0,0 +1,11 @@
|
|
Tim Waugh |
311e52 |
+2008-09-23 Tim Waugh <twaugh@redhat.com>
|
|
Tim Waugh |
311e52 |
+
|
|
Tim Waugh |
311e52 |
+ * foomatic-rip.in: Remove final incorrect instance of
|
|
Tim Waugh |
311e52 |
+ removespecialchars (bug #169).
|
|
Tim Waugh |
311e52 |
+
|
|
Tim Waugh |
cd101f |
+2008-09-05 Till Kamppeter <till.kamppeter@gmail.com>
|
|
Tim Waugh |
cd101f |
+
|
|
Tim Waugh |
cd101f |
+ * foomatic-rip.in: Make foomatic-rip also working with PPD file
|
|
Tim Waugh |
cd101f |
+ names which contain brackets or other special characters (Bug
|
|
Tim Waugh |
cd101f |
+ #169).
|
|
Tim Waugh |
cd101f |
+
|
|
Tim Waugh |
cd101f |
diff -up foomatic-filters-3.0-20080904/foomatic-rip.in.ppd-filenames foomatic-filters-3.0-20080904/foomatic-rip.in
|
|
Tim Waugh |
311e52 |
--- foomatic-filters-3.0-20080904/foomatic-rip.in.ppd-filenames 2008-09-23 09:57:43.000000000 +0100
|
|
Tim Waugh |
311e52 |
+++ foomatic-filters-3.0-20080904/foomatic-rip.in 2008-09-23 09:58:01.000000000 +0100
|
|
Tim Waugh |
311e52 |
@@ -349,7 +349,7 @@ foreach my $shell ('/bin/sh', '/bin/bash
|
|
Tim Waugh |
311e52 |
if (defined($ENV{'PPD'})) {
|
|
Tim Waugh |
311e52 |
# Clean the file name from weird characters which could cause
|
|
Tim Waugh |
311e52 |
# unexpected behaviour
|
|
Tim Waugh |
311e52 |
- $ppdfile = removespecialchars($ENV{'PPD'});
|
|
Tim Waugh |
311e52 |
+ $ppdfile = $ENV{'PPD'};
|
|
Tim Waugh |
311e52 |
# CUPS, Solaris LP, and PPR (RIP filter) use the "PPD" environment variable
|
|
Tim Waugh |
311e52 |
# to make the PPD file name available (we set CUPS here preliminarily,
|
|
Tim Waugh |
311e52 |
# in the next step we check for Solaris LP and the PPR)
|
|
Tim Waugh |
cd101f |
@@ -517,10 +517,10 @@ if (defined($ENV{'PRINTCAP_ENTRY'})){
|
|
Tim Waugh |
cd101f |
# PPD file name given via the command line
|
|
Tim Waugh |
cd101f |
# allow duplicates, and use the last specified one
|
|
Tim Waugh |
cd101f |
while ( ($spooler ne 'lprng') and ($argstr =~ s/\x01-p(\x01|)([^\x01]+)\x01/\x01/)) {
|
|
Tim Waugh |
cd101f |
- $ppdfile = removeshellescapes($2);
|
|
Tim Waugh |
cd101f |
+ $ppdfile = $2;
|
|
Tim Waugh |
cd101f |
}
|
|
Tim Waugh |
cd101f |
while ($argstr =~ s/\x01--ppd(\x01|=|)([^\x01]+)\x01/\x01/) {
|
|
Tim Waugh |
cd101f |
- $ppdfile = removeshellescapes($2);
|
|
Tim Waugh |
cd101f |
+ $ppdfile = $2;
|
|
Tim Waugh |
cd101f |
}
|
|
Tim Waugh |
cd101f |
|
|
Tim Waugh |
cd101f |
# Check for LPD/GNUlpr by typical options which the spooler puts onto
|
|
Tim Waugh |
cd101f |
@@ -818,7 +818,7 @@ if (($spooler eq 'lpd') ||
|
|
Tim Waugh |
cd101f |
($spooler eq 'gnulpr')) {
|
|
Tim Waugh |
cd101f |
|
|
Tim Waugh |
cd101f |
# Get PPD file name as the last command line argument
|
|
Tim Waugh |
cd101f |
- $ppdfile = removeshellescapes($rargs[$#rargs]);
|
|
Tim Waugh |
cd101f |
+ $ppdfile = $rargs[$#rargs];
|
|
Tim Waugh |
cd101f |
|
|
Tim Waugh |
cd101f |
}
|
|
Tim Waugh |
cd101f |
|