Package: libcgi-application-plugins-perl
Version: 0.10
Severity: normal

CGI::Application::Plugin::ActionDispatch (CPAN v0.91) from libcgi-application-plugins-perl v0.10 no longer seems to dispatch action_args to the underlying run-mode : it's still working fine for run-modes which don't call the action_args() method, but fail with an apache
"Internal Server Error" for those who needs it

The apache error log says :
"malformed header from script. Bad header=$VAR1 = bless( {: /path/to/the/script"
(I'm using a regular CGI script, no mod_perl stuff)

When I get back to CPAN v0.90 (as found on libcgi-application-plugins-perl v0.08) for the /usr/share/perl5/CGI/Application/Plugin/ActionDispatch.pm file, the problem
disappear (there were no changes between both versions for
the /usr/share/perl5/CGI/Application/Plugin/ActionDispatch/Attributes.pm file)

sample code for a run-mode giving a 500 error :
use base 'CGI::Application';
use CGI::Application::Plugin::ActionDispatch;
sub brow_tax : Path('brow_tax/') {
   my $self   = shift;
   my $page   = $self->action_args() or die "brow_tax : no page given !\n";
... }

-- System Information:
Debian Release: lenny/sid
 APT prefers testing
APT policy: (910, 'testing'), (90, 'stable'), (33, 'unstable'), (15, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-vserver-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libcgi-application-plugins-perl depends on:
ii libcgi-application-perl 4.06-1 Framework for building reusable we ii libcgi-session-perl 4.20-2 Persistent session data in CGI app
ii  libclass-accessor-perl     0.31-2        Automated accessor generator
ii  libclone-perl              0.28-1        recursively copy Perl datatypes
ii  libconfig-auto-perl        0.20-1        Magical config file parser
ii  libconfig-simple-perl      4.59-3        simple configuration file class
ii libdata-formvalidator-perl 4.57-1 Library for easily validating user ii libdata-random-perl 0.05-4 Perl module to generate random dat ii libdbi-perl 1.602-1 Perl5 database interface by Tim Bu ii libdevel-stacktrace-perl 1.11-1 Stack trace and stack trace frame ii libdigest-hmac-perl 1.01-6 create standard message integrity ii libdigest-sha1-perl 2.11-2 NIST SHA-1 message digest algorith
ii  libfile-mmagic-perl        1.27-1        Perl module to guess file type
ii libgd-securityimage-perl 1.64-1 Security image (captcha) generator
ii  libhtml-fillinform-perl    2.00-2        populates HTML Forms with data
ii libjson-any-perl 1.16-1 wrapper class for the various JSON ii liblog-dispatch-perl 2.18-1 Dispatches messages to multiple Lo ii libparams-validate-perl 0.89-2 validate parameters to Perl method
ii  libpod-xhtml-perl          1.59-1        Translate POD to Xhtml
ii libsyntax-highlight-perl-i 1.01-2 Highlighting of Perl Syntactical S ii libtemplate-perl 2.19-1 template processing system written
ii  libuniversal-require-perl  0.10-1        Load modules from a variable
ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin ii perl 5.8.8-12 Larry Wall's Practical Extraction

Versions of packages libcgi-application-plugins-perl recommends:
ii libapache-htpasswd-perl 1.8-0.1 Manage Unix crypt-style password f ii libauthen-simple-perl 0.4-5 Simple and consistent perl framewo ii libcolor-calc-perl 1.04-3 Perl module for simple calculation ii libdbix-class-perl 0.08009-1 Extensible and flexible object <-> ii libhtml-template-perl 2.9-1 HTML::Template : A module for usin ii libtemplate-perl-doc 2.19-1 documentation for libtemplate-perl ii perl [libdigest-md5-perl] 5.8.8-12 Larry Wall's Practical Extraction

-- no debconf information



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to