[cgiapp] CAP::Authentication->redirect_after_login

n1zero at aol.com n1zero at aol.com
Thu Jun 17 06:56:48 EDT 2010


On June 16, 2010, n1zero at aol.com wrote:
> CAP::Authentication, "my $action = $query->url( -absolute => 1 );", 
which
> gives in my case '/trial'.

Looking through the current version of CGI->url it seems that if you 
want the path_info
(surely we all do?) you need to change the above line to be
my $action = $query->url( -absolute => 1, -path_info => 1 );
I've done this on my local copy and all now works and makes sense.
I'm surprised this hasn't stung more people.
Nic Sandfield




More information about the cgiapp mailing list