Go to file
Chris Nighswonger 860f1f70e5 kohabug 2458 Disallowing non-SELECT SQL in reports module
This patch enforces SELECT-only SQL in the reports module.
It introduces code to check SQL in two places. The first is
when a save is attempted on a user constructed SQL statement.
If a non-SELECT SQL statement is entered, the user will be
presented with an error message and a button giving the
option of editing the SQL. The second is when any SQL is
executed. If execution of a non-SELECT SQL statement is
attempted, the user is presented with an error message and
instructed to delete that report as the SQL is invalid.

The second check is intended as a safety net as no non-SELECT
SQL should ever be saved.

It may be well to document the proper usage of the direct SQL
entry type report.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-08-08 10:52:34 -05:00
C4 kohabug 2458 Disallowing non-SELECT SQL in reports module 2008-08-08 10:52:34 -05:00
acqui
…
admin
…
authorities
…
catalogue kohabug 2427 Correcting C4::Items:: _koha_new_item to populate items.copynumber 2008-08-08 06:10:26 -05:00
cataloguing bug 2317: avoid crash when auto-creating authority 2008-08-06 07:08:36 -05:00
circ
…
errors
…
etc
…
install_misc
…
installer Bug 2084 [2/2]: Database version 3.00.00.107: adding warnings to three system preferences 2008-08-06 16:58:56 -05:00
koha-tmpl kohabug 2458 Disallowing non-SELECT SQL in reports module 2008-08-08 10:52:34 -05:00
labels
…
members use alphabetical order to popup the cities 2008-08-06 07:08:39 -05:00
misc Revert "Add missing to and from email addresses to user and admin EnqueueLetter calls, respectively. Add extra level to verbosity." 2008-08-08 10:51:45 -05:00
opac
…
reports kohabug 2458 Disallowing non-SELECT SQL in reports module 2008-08-08 10:52:34 -05:00
reserve
…
reviews
…
rss
…
serials bug 1433: use same bib when adding new subscription from details page 2008-08-06 10:15:16 -05:00
skel
…
sms
…
suggestion
…
svc
…
t
…
tags
…
tmp/modified_authorities
…
tools Patron import reform - bug 2287 - expanded error catching and feedback 2008-08-06 09:37:03 -05:00
virtualshelves
…
xt
…
.htaccess
…
INSTALL
…
INSTALL.debian
…
INSTALL.fedora7
…
INSTALL.opensuse
…
LICENSE
…
MANIFEST.SKIP
…
Makefile.PL Adding Email::Date dependancy, requested by MIME::Lite 2008-08-06 07:13:59 -05:00
README
…
about.pl Adding Email::Date dependancy, requested by MIME::Lite 2008-08-06 07:13:59 -05:00
changelanguage.pl
…
edithelp.pl
…
fix-perl-path.PL
…
help.pl
…
install-CPAN.pl
…
kohaversion.pl Bug 2084 [2/2]: Database version 3.00.00.107: adding warnings to three system preferences 2008-08-06 16:58:56 -05:00
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/