Package: speedy-cgi-perl
Version: 2.22-2
Severity: normal
Tags: patch

Hi,

this bug was originally reported in the upstream bug tracker by Felix
Edgar Klee. The bug ID is 1220388 and the URL is

http://sourceforge.net/tracker/index.php?func=detail&aid=1220388&group_id=2208&atid=102208

Summary: speedy ignores empty strings given as command-line parameters.
Consider this transcript:

% cat t.pl              
#!/usr/bin/perl -w

print join(",",map { qq("$_") } @ARGV), "\n";
% perl t.pl a "" b      
"a","","b"
% speedy t.pl a "" b    
"a","b"

The outputs from perl and speedy should be identical.

I'm attaching a dpatch that fixes this.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=en_US, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages speedy-cgi-perl depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libperl5.8                  5.8.4-8      Shared Perl library
ii  perl                        5.8.4-8      Larry Wall's Practical Extraction 

-- no debconf information

Cheers,
-- 
Niko Tyni               [EMAIL PROTECTED]

Attachment: empty-param.dpatch
Description: application/shellscript

Reply via email to