CGI->new() should not be used in any C4 module - it has a side-effect that breaks the AJAX file upload script. Specifically, any file upload field is slurped when a new CGI object is created, and is not available to a second object created by CGI->new(). Consequently, C4::Debug should not be instantiating a CGI object in its BEGIN block. It can use other CGI::* modules to parse QUERY_STRING to get the value of the debug parameter (note that this means that the debug param can be reliably set only in a GET, not as part of a form submission). Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com> |
||
|---|---|---|
| C4 | ||
| acqui | ||
| admin | ||
| authorities | ||
| catalogue | ||
| cataloguing | ||
| circ | ||
| etc | ||
| install_misc | ||
| installer | ||
| koha-tmpl | ||
| labels | ||
| members | ||
| misc | ||
| opac | ||
| reports | ||
| reserve | ||
| reviews | ||
| rss | ||
| serials | ||
| skel | ||
| sms | ||
| suggestion | ||
| svc | ||
| t | ||
| tmp/modified_authorities | ||
| tools | ||
| virtualshelves | ||
| .htaccess | ||
| INSTALL | ||
| INSTALL.debian | ||
| LICENSE | ||
| MANIFEST.SKIP | ||
| Makefile.PL | ||
| README | ||
| about.pl | ||
| changelanguage.pl | ||
| edithelp.pl | ||
| fix-perl-path.PL | ||
| help.pl | ||
| install-CPAN.pl | ||
| kohaversion.pl | ||
| mainpage.pl | ||
| rewrite-config.PL | ||
README
Koha 3 - the next-generation release of the award-winning Koha open-source integrated library system. 30 December 2007 - Joshua Ferraro <jmf AT liblime DOT com> Koha is distributed under the GNU GPL. Please read the file LICENSE for more details. To install or upgrade Koha, please see the INSTALL file. Please report any bugs to the koha mailing lists or bug tracker and we will try to fix them in a future release. The main koha web site is http://www.koha.org/