Skip Menu |

This queue is for tickets about the CGI-Untaint-url CPAN distribution.

Report information
The Basics
Id: 6336
Status: resolved
Priority: 0/
Queue: CGI-Untaint-url

People
Owner: Nobody in particular
Requestors: henry.gao [...] ubs.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.00



Subject: Make test failed for CGI-Untaint-url
$ uname -a Linux xsyd0032dap 2.4.9-e.25enterprise #1 SMP Fri Jun 6 17:55:13 EDT 2003 i686 unknown bash 1 2 sca@xsyd0032dap ~/pd/bin $ perl -V Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration: Platform: osname=linux, osvers=2.4.9-e.25enterprise, archname=i686-linux-thread-multi uname='linux xsyd0032dap 2.4.9-e.25enterprise #1 smp fri jun 6 17:55:13 edt 2003 i686 unknown ' config_args='-Dprefix=/sbcimp/run/pd/perl/5.8.3 -Dprivlib=/sbcimp/run/pd/perl/5.8.3/lib -Darchlib=/sbcimp/run/pd/perl/5.8.3/lib -Dsitelib=/sbcimp/run/pd/perl/5.8.3/lib -Dsitearch=/sbcimp/run/pd/perl/5.8.3/lib -Dlocincpth=/sbcimp/run/pd/gdbm/1.8.3/include -Dloclibpth=/sbcimp/run/pd/gdbm/1.8.3/lib -Dcc=gcc -Dusethreads -Uinstallusrbinperl -Dperladmin=dl-pdsupport@ubs.com -Dcf_email=dl-pdsupport@ubs.com -des' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/sbcimp/run/pd/gdbm/1.8.3/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/sbcimp/run/pd/gdbm/1.8.3/include' ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.2 2.96-108.1ubshufsv1.0)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/sbcimp/run/pd/gdbm/1.8.3/lib' libpth=/sbcimp/run/pd/gdbm/1.8.3/lib /lib /usr/lib /usr/local/lib libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.2.4.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.2.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/sbcimp/run/pd/gdbm/1.8.3/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Mar 8 2004 11:17:10 @INC: /sbcimp/run/pd/perl/5.8.3/lib /sbcimp/run/pd/perl/5.8.3/lib /sbcimp/run/pd/perl/5.8.3/lib /sbcimp/run/pd/perl/5.8.3/lib . $ make test PERL_DL_NONLAZY=1 /sbcimp/run/pd/perl/5.8.3/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/url....ok 3/15# Failed test (t/url.t at line 33) t/url....NOK 4# The object isn't defined Use of uninitialized value in concatenation (.) or string at t/url.t line 34. # Failed test (t/url.t at line 34) t/url....NOK 5# Failed test (t/url.t at line 33) t/url....NOK 6# The object isn't defined Use of uninitialized value in concatenation (.) or string at t/url.t line 34. # Failed test (t/url.t at line 34) t/url....ok 15/15# Looks like you failed 4 tests of 15. t/url....dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 4-7 Failed 4/15 tests, 73.33% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/url.t 4 1024 15 4 26.67% 4-7 Failed 1/1 test scripts, 0.00% okay. 4/15 subtests failed, 73.33% okay. *** Error code 2 make: Fatal error: Command failed for target `test_dynamic'
From: Stuart Johnston
In order to get the expected behaviour as well as fixing the make tests, you can use URI::Find::Schemeless::Stricter instead of URI::Find. Attached is a patch for this.
Download patch
application/octet-stream 1.2k

Message body not shown because it is not plain text.

Show quoted text
> In order to get the expected behaviour as well as fixing the make > tests, > you can use URI::Find::Schemeless::Stricter instead of URI::Find. > Attached is a patch for this.
Sorry for the delay. This should be fixed in the new release. Tony