Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-Authentication CPAN distribution.

Report information
The Basics
Id: 38049
Status: resolved
Priority: 0/
Queue: CGI-Application-Plugin-Authentication

People
Owner: Nobody in particular
Requestors: mericia [...] turboprinz.de
Cc:
AdminCc:

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



Subject: don't ignore PATH_INFO in login_form
Providing a login-form, you set the action parameter of the form with the full url of the CGI object, ignoring any path_info. If you use CGI::Application::Dispatch, you use PATH_INFO to determine the Module and the runmode you wish to execute. So, if you want to add support for CA::Dispatch, you should alter your code in CGI::Application::Plugin::Authentication like this: [code] sub login_box { my $self = shift; my $query = $self->_cgiapp->query; my $credentials = $self->credentials; my $runmode = $self->_cgiapp->get_current_runmode; my $destination = $query->param('destination') || $query->self_url; my $action = $query->url( -absolute => 1, -path_info => 1, ); # < here is the difference! -path_info was added [/code] I don't knwo if it helps, but I'm using AS perl v5.8.8 built for MSWin32-x86-multi-thread and CGI-Application-Plugin-Authentication 0.12 on WinXP SP3 with Apache 2.2 as development environment. best regards, A. Becker
Fixed the path_info issue in next release. Thanks for the patch...