From c96d4b045cd38725ee6f515dc7513c14b06f553e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 2 Apr 2025 19:09:49 +0000 Subject: [PATCH] doc: mknews: fix uninitialized variable SCRIPT_NAME is required by Plack, so ensure this mock env has it, as well. Fixes: 1b130400 (www: omit SERVER_PORT for standard port redirects, 2025-03-28) --- Documentation/mknews.perl | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl index 07e77ebef..9990732ae 100755 --- a/Documentation/mknews.perl +++ b/Documentation/mknews.perl @@ -50,6 +50,7 @@ if ($dst eq 'NEWS') { env => { HTTP_HOST => 'public-inbox.org', 'psgi.url_scheme' => 'https', + SCRIPT_NAME => '', }, www => { pi_cfg => { -- 2.47.3