Skip to content

Commit

Permalink
Security update.
Browse files Browse the repository at this point in the history
  • Loading branch information
jschultze committed Feb 23, 2024
1 parent fb5b878 commit d371e1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion local/config/vufind/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ available = true
; setting in permissions.ini to turn on debug using a GET parameter in the request.
debug = false
; This setting should be set to false after auto-configuration is complete
autoConfigure = true
autoConfigure = false
; This setting specifies a health check file location. If a health check file exists,
; the getServerStatus AJAX call will return an error regardless of actual status
; allowing the server to be disabled from a load-balancer.
Expand Down
3 changes: 3 additions & 0 deletions module/VuFind/src/VuFind/Controller/CoverController.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ public function showAction()
{
$this->sessionSettings->disableWrite(); // avoid session write timing bug

/*
Removed code due to security warning on 20.02.2024
// Special case: proxy a full URL:
$url = $this->params()->fromQuery('proxy');
if (!empty($url)) {
Expand All @@ -138,6 +140,7 @@ public function showAction()
// to display an image unavailable graphic.
}
}
*/

// Default case -- use image loader:
$this->loader->loadImage($this->getImageParams());
Expand Down

0 comments on commit d371e1e

Please sign in to comment.