From cf7624965f3266dd52534cb3e123e60c14336efe Mon Sep 17 00:00:00 2001 From: "Brian \"Moses\" Hall" Date: Mon, 11 May 2026 10:19:40 -0400 Subject: [PATCH 1/2] ETT-477 under_server fix - Restore `use Debug::DUtils;` incorrectly removed from ETT-477 branch - Decided to avoid getting bogged down in test config since adding a simple test aith `q1` param to plack.t does not expose a failure (although it complains about things like `PTSEARCH_SOLR`). --- imgsrv/lib/SRV/SearchUtils.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imgsrv/lib/SRV/SearchUtils.pm b/imgsrv/lib/SRV/SearchUtils.pm index 7cd4e3da4..ae5dc9895 100644 --- a/imgsrv/lib/SRV/SearchUtils.pm +++ b/imgsrv/lib/SRV/SearchUtils.pm @@ -26,6 +26,7 @@ use URI::Escape; use Utils; use Utils::Time; use Utils::Logger; +use Debug::DUtils; use MdpConfig; use Db; @@ -47,6 +48,7 @@ my $HOST = `hostname`; chomp($HOST); $HOST =~ s,\..*$,,; use strict; use Utils; + use Debug::DUtils; use base qw(Search::Query); From ed20cf35a87b47c1f43af972db7d8d33ef8d2700 Mon Sep 17 00:00:00 2001 From: "Brian \"Moses\" Hall" Date: Tue, 12 May 2026 16:53:21 -0400 Subject: [PATCH 2/2] Add `html` endpoint with and without `q1` to validate-app config. --- mdp-tools/lib/Config/validate-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mdp-tools/lib/Config/validate-config.yaml b/mdp-tools/lib/Config/validate-config.yaml index 5bc589934..fa6d05255 100644 --- a/mdp-tools/lib/Config/validate-config.yaml +++ b/mdp-tools/lib/Config/validate-config.yaml @@ -12,6 +12,8 @@ babel: - https://__URL_STAGE__.hathitrust.org/cgi/imgsrv/download/pdf?id=1;seq=8;seq=9;seq=10;__LOCAL__ - https://__URL_STAGE__.hathitrust.org/cgi/imgsrv/image?id=1;seq=7;__LOCAL__ - https://__URL_STAGE__.hathitrust.org/cgi/imgsrv/metadata?id=2;start=0;limit=10;__LOCAL__ + - https://__URL_STAGE__.hathitrust.org/cgi/imgsrv/html?id=1;__LOCAL__ + - https://__URL_STAGE__.hathitrust.org/cgi/imgsrv/html?id=1;q1=test;__LOCAL__ #whoami: - https://__URL_STAGE__.hathitrust.org/cgi/whoami