If the system preference OpacMaintenance is ON, the user is redirected to the maintenance.pl page but the requested page is executed.
Created attachment 12330 [details] [review] But 8787: don't load the page if OpacMaintenance is ON If the syspref OpacMaintenance is ON, it is useless to loaded the requested page. To test: - switch on the syspref OpacMaintenace - check in your apache access log, zebra log, etc. the requested page is not loaded (i.e. on the opac-search.pl page)
Created attachment 12367 [details] [review] [SIGNED-OFF] But 8787: don't load the page if OpacMaintenance is ON If the syspref OpacMaintenance is ON, it is useless to loaded the requested page. To test: - switch on the syspref OpacMaintenace - check in your apache access log, zebra log, etc. the requested page is not loaded (i.e. on the opac-search.pl page) Signed-off-by: Marc Veron <veron@veron.ch> Checked by watching other_vhosts_access.log Works as expected
Upping the severity.
QA comment: one line patch passed QA (lowered severity)
Patch pushed to master
Pushed to 3.8.x will be in 3.8.7
pushed to 3.6.x, will be in 3.6.11.