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