runreport.pl and prep work on Guided.pm
authorJoe Atzberger <joe.atzberger@liblime.com>
Fri, 27 Mar 2009 15:34:33 +0000 (10:34 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:15:07 +0000 (21:15 +0200)
commit4319a13d8cfceeb4923aa2a09fc7c0d56750b2b4
tree256e07b619f22a6cae8147d8c6e50fded4481354
parentf6a17a30fb91c3284b94c8ecde34cc88685acf83
runreport.pl and prep work on Guided.pm

The old location of runreport.pl was under tools, leaving it exposed
to web requests.  This is a security flaw since it does NOT check any
Auth and allows the user to request any Saved Report be run.  This is
not a problem under misc/crontab/ and it suggests the more appropriate use.

Guided.pm is not fixed here (see bug 3066), but it is prepared to be fixed
and made compatible with runreport as detailed in the perldoc.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/Reports/Guided.pm
misc/cronjobs/runreport.pl [new file with mode: 0755]