Subject: | base in header is ignored |
Date: | Tue, 27 May 2008 10:23:01 +0200 |
To: | <bug-libwww-perl [...] rt.cpan.org> |
From: | Jesper Jørgen Persson <jjp [...] siteimprove.com> |
The $response->base does not the return the embedded base after requesting the following page:
<html>
<head>
<span></span>
<base href="http://www.mybasetest.dk" />
</head>
<body>
</body>
</html>
It seems to be the span tag in the header that causes the problem.
The problem was observed on the follow web page:
http://www.epsom-ewell.gov.uk/eebc/events/venues+press+releases.htm
OS:
Windows XP SP.2
Perl version:
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=MSWin32, osvers=5.00, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
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='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_S
EED -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_REA
DFIX',
optimize='-MD -Zi -DNDEBUG -O1',
cppflags='-DWIN32'
ccversion='12.00.8804', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86'
libpth=\lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.
lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl58.lib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86
'
Perl modules:
perldoc perllocal
Tue Jul 31 19:57:35 2007: "Module" HTML::Tagset
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 3.10"
* "EXE_FILES: "
Tue Jul 31 19:58:25 2007: "Module" ActiveState::Utils
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 2.03"
* "EXE_FILES: "
Tue Jul 31 19:58:38 2007: "Module" Compress::Zlib
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.4201"
* "EXE_FILES: "
Tue Jul 31 19:58:55 2007: "Module" URI
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.35"
* "EXE_FILES: "
Tue Jul 31 19:59:15 2007: "Module" HTML::Parser
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 3.56"
* "EXE_FILES: "
Tue Jul 31 19:59:27 2007: "Module" Tcl
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 0.89"
* "EXE_FILES: "
Tue Jul 31 20:01:17 2007: "Module" DBI
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.58"
* "EXE_FILES: dbiproxy dbiprof dbilogstrip"
Tue Jul 31 20:01:25 2007: "Module" IO::Zlib
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.04"
* "EXE_FILES: "
Tue Jul 31 20:01:32 2007: "Module" IO::String
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.08"
* "EXE_FILES: "
Tue Jul 31 20:01:59 2007: "Module" ActiveState::RelocateTree
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.04"
* "EXE_FILES: bin/reloc_perl"
Tue Jul 31 20:02:20 2007: "Module" ActivePerl::DocTools
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 2.01"
* "EXE_FILES: bin/ap-update-html bin/ap-user-guide"
Tue Jul 31 20:02:42 2007: "Module" XML::Parser
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 2.34"
* "EXE_FILES: "
Tue Jul 31 20:02:49 2007: "Module" Text::Reform
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.11"
* "EXE_FILES: "
Tue Jul 31 20:03:49 2007: "Module" LWP
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 5.806"
* "EXE_FILES: bin/lwp-request bin/lwp-mirror bin/lwp-rget
bin/lwp-download"
Tue Jul 31 20:03:58 2007: "Module" Digest::SHA1
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 2.11"
* "EXE_FILES: "
Tue Jul 31 20:04:26 2007: "Module" Tkx
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.04"
* "EXE_FILES: tkx-ed tkx-prove"
Tue Jul 31 20:04:35 2007: "Module" Term::ReadKey
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 2.30"
* "EXE_FILES: "
Tue Jul 31 20:05:16 2007: "Module" DBD::SQLite
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.13"
* "EXE_FILES: "
Tue Jul 31 20:05:29 2007: "Module" Archive::Tar
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.3201"
* "EXE_FILES: bin/ptar bin/ptardiff"
Tue Jul 31 20:05:44 2007: "Module" Win32::AuthenticateUser
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 0.02"
* "EXE_FILES: "
Tue Jul 31 20:09:25 2007: "Module" libwin32
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 0.26.0.2"
* "EXE_FILES: "
Tue Jul 31 20:10:32 2007: "Module" XML::Simple
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 2.16"
* "EXE_FILES: "
Tue Jul 31 20:10:42 2007: "Module" Unicode::String
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 2.09"
* "EXE_FILES: "
Tue Jul 31 20:19:20 2007: "Module" Tk
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 804.027"
* "EXE_FILES: ptksh ptked gedi"
Tue Jul 31 20:19:28 2007: "Module" Text::Autoformat
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.13"
* "EXE_FILES: "
Tue Jul 31 20:19:34 2007: "Module" Term::ReadLine::Perl
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.0302"
* "EXE_FILES: "
Tue Jul 31 20:19:54 2007: "Module" SOAP::Lite
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 0.55"
* "EXE_FILES: bin/SOAPsh.pl bin/XMLRPCsh.pl bin/stubmaker.pl"
Tue Jul 31 20:20:07 2007: "Module" MIME-Base64-Scripts
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.00"
* "EXE_FILES: encode-base64 decode-base64 encode-qp decode-qp"
Tue Jul 31 20:20:14 2007: "Module" MD5
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 2.03"
* "EXE_FILES: "
Tue Jul 31 20:20:34 2007: "Module" Math::BigInt::FastCalc
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 0.13"
* "EXE_FILES: "
Tue Jul 31 20:20:47 2007: "Module" HTML-Tree
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 3.23"
* "EXE_FILES: "
Tue Jul 31 20:20:54 2007: "Module" Font::AFM
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.19"
* "EXE_FILES: "
Tue Jul 31 20:21:22 2007: "Module" File::CounterFile
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.04"
* "EXE_FILES: "
Tue Jul 31 20:21:32 2007: "Module" Digest::MD4
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.5"
* "EXE_FILES: "
Tue Jul 31 20:21:41 2007: "Module" Digest::MD2
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 2.03"
* "EXE_FILES: "
Tue Jul 31 20:21:48 2007: "Module" Digest::HMAC
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.01"
* "EXE_FILES: "
Tue Jul 31 20:21:56 2007: "Module" Data::Dump
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.08"
* "EXE_FILES: "
Tue Jul 31 20:22:13 2007: "Module" Archive::Zip
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.20"
* "EXE_FILES: bin/crc32"
Tue Jul 31 20:22:24 2007: "Module" ActiveState::Scineplex
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.01"
* "EXE_FILES: "
Tue Jul 31 20:24:11 2007: "Module" ActivePerl::PPM
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 4.01"
* "EXE_FILES: bin/ppm bin/ppm-shell"
Tue Jul 31 20:24:19 2007: "Module" ActivePerl::Config
* "installed into: C:\Perl\lib"
* "LINKTYPE: dynamic"
* "VERSION: 1.02"
* "EXE_FILES: "
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS PERL_MALLOC_WRAP
PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_SITECUSTOMIZE
Locally applied patches:
ActivePerl Build 822 [280952]
Iin_load_module moved for compatibility with build 806
PerlEx support in CGI::Carp
Less verbose ExtUtils::Install and Pod::Find
Patch for CAN-2005-0448 from Debian with modifications
Rearrange @INC so that 'site' is searched before 'perl'
Partly reverted 24733 to preserve binary compatibility
MAINT31223 plus additional changes
31490 Problem bootstraping Win32CORE
31324 Fix DynaLoader::dl_findfile() to locate .so files again
31214 Win32::GetLastError fails when first called
31211 Restore Windows NT support
31188 Problem killing a pseudo-forked child on Win32
29732 ANSIfy the PATH environment variable on Windows
27527,29868 win32_async_check() can loop indefinitely
26970 Make Passive mode the default for Net::FTP
26379 Fix alarm() for Windows 2003
24699 ICMP_UNREACHABLE handling in Net::Ping
Built under MSWin32
Compiled at Jul 31 2007 19:34:48
@INC:
C:/Perl/site/lib
C:/Perl/lib
.
Med venlig hilsen
Jesper Jørgen Persson
SiteImprove A/S
Kronprinsessegade 20
1306 København K
Telefon 3336 4420
mailto:jjp@siteimprove.com - http://siteimprove.com
Message body is not shown because it is too large.