Skip Menu |

This queue is for tickets about the CGI-Auth-Basic CPAN distribution.

Report information
The Basics
Id: 31947
Status: resolved
Priority: 0/
Queue: CGI-Auth-Basic

People
Owner: Nobody in particular
Requestors: kaitarou [...] gmail.com
Cc:
AdminCc:

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



Subject: bugreport and fix
Date: Fri, 28 Dec 2007 04:24:06 +0300
To: bug-CGI-Auth-Basic [...] rt.cpan.org
From: Boo_boo <kaitarou [...] gmail.com>
CGI-Auth-Basic module does'nt preserve GET parameters given to caller script. thus www.site.org/script.pl?par1=1&par2=2 becomes just www.site.org/script.pl after authorisation. i found this at line 64: $self->{program} = $self->{cgi}->url || ''; and after i changed it to: $self->{program} = ($self->{cgi}->url .($ENV{'QUERY_STRING'}? ('?'."$ENV{'QUERY_STRING'}") : '')) || ''; bug disappers -- With best regards, Boo-boo mailto: kaitarou(^at^)gmail.com