]> git.koha-community.org Git - koha.git/commit
Bug 8268 follow-up: incorporate QA comments
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 7 Jul 2012 12:53:49 +0000 (08:53 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 12 Jul 2012 15:40:22 +0000 (17:40 +0200)
commit8affddc52db84d0da95b5460fbe8d2a1a1e34942
tree7b783fc4be0c97d11f766a4d89800e88f5e1f05e
parentbbcb1d784b38d129a5fa41aa9f3dc7b798c25c9c
Bug 8268 follow-up: incorporate QA comments

Fixes the following things:
1. Sanitizes log output to prevent an attacker from using a specially
   crafted POST to add extra lines to the log
2. Simplify a regular expression since "..file" cannot be used to
   escape the current directory
3. Makes sure directories are consistent
4. Correct logic issues in misc/cronjobs/backup.sh

Thanks to Frere Sebastien Marie for catching these issues.

Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
debian/templates/koha-conf-site.xml.in
misc/cronjobs/backup.sh
tools/export.pl