Subject: | PATCH: add path_info support to URL generation |
The generated URLS didn't work for me, because I also needed the
path_info included. PATH_INFO is being increasingly used in URLs as web
frameworks make use it for dispatching. (I'm using
CGI::Application::Dispatch).
The patch should be harmless for everyone else who doesn't care about this.
Mark
Subject: | path_info.diff |
Wed Jun 7 16:34:54 EDT 2006 mark@summersault.com
* add path_info support to HTML::ReportWriter::PagingAndSorting
diff -rN old-miami/perllib/HTML/ReportWriter/PagingAndSorting.pm new-miami/perllib/HTML/ReportWriter/PagingAndSorting.pm
434c434
< my $url = $self->{'CGI_OBJECT'}->url( -absolute => 1, -query => 1 );
---
> my $url = $self->{'CGI_OBJECT'}->url( -absolute => 1, -query => 1, -path_info => 1 );
620c620
< my $url = $self->{'CGI_OBJECT'}->url( -absolute => 1, -query => 1 );
---
> my $url = $self->{'CGI_OBJECT'}->url( -absolute => 1, -query => 1, -path_info => 1 );