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

Bug#380299: libapache-mod-perl: unescape_url_info('') returns undef



Package: libapache-mod-perl
Version: 1.29.0.4-2
Severity: normal

Shouldn't unescape_url_info('') return '' instead of undef?  Here's a
quick patch to that effect.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-toroia
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)

Versions of packages libapache-mod-perl depends on:
ii  apache-common                 1.3.34-2   support files for all Apache webse
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libdevel-symdump-perl         2.03-3     Perl module for inspecting perl's 
ii  libperl5.8                    5.8.8-6    Shared Perl library
ii  liburi-perl                   1.35-2     Manipulates and accesses URI strin
ii  libwww-perl                   5.805-1    WWW client/server library for Perl
ii  perl [libmime-base64-perl]    5.8.8-6    Larry Wall's Practical Extraction 

libapache-mod-perl recommends no packages.

-- no debconf information
--- mod_perl-1.29/src/modules/perl/Apache.xs.orig	2006-07-28 23:39:33.813394444 -0400
+++ mod_perl-1.29/src/modules/perl/Apache.xs	2006-07-29 00:41:13.435776253 -0400
@@ -680,7 +680,7 @@
     register char * trans = url ;
     char digit ;
 
-    if (!url || !*url) {
+    if (!url) {
         XSRETURN_UNDEF;
     }
 

Reply to: