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)
committerGalen Charlton <galen.charlton@liblime.com>
Sat, 4 Apr 2009 01:14:32 +0000 (20:14 -0500)
commit1caa108ef0a6ebe1c5d6ab33ce663fadd6ebd7eb
tree1ac168b59acbc8431eb24a01e7874cd3efe02cd9
parent104de0640ba4ee0f89d65c9c93a97835179028c6
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>
C4/Reports/Guided.pm
misc/cronjobs/runreport.pl [new file with mode: 0755]