On June 16, 2010, n1z...@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



#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to