Skip Menu |

This queue is for tickets about the HTTP-Server-Simple-Static CPAN distribution.

Report information
The Basics
Id: 27650
Status: resolved
Priority: 0/
Queue: HTTP-Server-Simple-Static

People
Owner: sjq-perl [...] jadevine.org.uk
Requestors: cpan.to.gordon [...] mccreight.com
Cc:
AdminCc:

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



Subject: Patch for Internet Explorer GET Path Parsing
sub serve_static { my ( $self, $cgi, $base ) = @_; my $path = $cgi->url( -absolute => 1, -path_info => 1 ); # PATCH STARTS HERE # # Internet Explorer provides the full URI in the GET section # of the request header, so remove the protocol, domain name, # and port if they exist. $path =~ s{(\w+)://([^/:]+)(:\d+)?/}{/};
From: sjq-perl [...] jadevine.org.uk
Hi there, Thanks for the patch I'll try and take a look and get it incorporated as soon as possible. Cheers, Stephen Quinney On Tue Jun 19 21:33:57 2007, GMCC wrote: Show quoted text
> sub serve_static { > my ( $self, $cgi, $base ) = @_; > my $path = $cgi->url( -absolute => 1, -path_info => 1 ); > > # PATCH STARTS HERE # > # Internet Explorer provides the full URI in the GET section > # of the request header, so remove the protocol, domain name, > # and port if they exist. > $path =~ s{(\w+)://([^/:]+)(:\d+)?/}{/};
On Tue Jun 19 21:33:57 2007, GMCC wrote: Show quoted text
> sub serve_static { > my ( $self, $cgi, $base ) = @_; > my $path = $cgi->url( -absolute => 1, -path_info => 1 ); > > # PATCH STARTS HERE # > # Internet Explorer provides the full URI in the GET section > # of the request header, so remove the protocol, domain name, > # and port if they exist. > $path =~ s{(\w+)://([^/:]+)(:\d+)?/}{/};
I have uploaded version 0.07 of HTTP::Server::Simple::Static which fixes the problem of handling the request from IE. Stephen Quinney