From e140603a594576180b846cf9299bee4629442c84 Mon Sep 17 00:00:00 2001 From: Brendan Gallagher Date: Fri, 29 Jan 2016 18:06:28 +0000 Subject: [PATCH] DBRev to make notes of the XSS patches and the new important dependency. Signed-off-by: Brendan Gallagher --- Koha.pm | 2 +- installer/data/mysql/updatedatabase.pl | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Koha.pm b/Koha.pm index a71409da31..23ab78e051 100644 --- a/Koha.pm +++ b/Koha.pm @@ -29,7 +29,7 @@ use vars qw{ $VERSION }; # - #4 : the developer version. The 4th number is the database subversion. # used by developers when the database changes. updatedatabase take care of the changes itself # and is automatically called by Auth.pm when needed. -$VERSION = "3.23.00.017"; +$VERSION = "3.23.00.018"; sub version { return $VERSION; diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 99046acf8d..a67727faef 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -11713,6 +11713,14 @@ remove_tree( $tmp ) if -d $tmp; } +$DBversion = "3.23.00.018"; +if ( CheckVersion($DBversion) ) { + + print "Upgrade to $DBversion done (Bug 13618 - Prevent XSS in the Staff Client and the OPAC -- Please note the new dependency Template::Stash::AutoEscaping - pretty important to have)\n"; + SetVersion($DBversion); + +} + # DEVELOPER PROCESS, search for anything to execute in the db_update directory # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. -- 2.39.5