From: Eric Wong Date: Wed, 2 Apr 2025 19:09:49 +0000 (+0000) Subject: doc: mknews: fix uninitialized variable X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c96d4b045cd38725ee6f515dc7513c14b06f553e;p=thirdparty%2Fpublic-inbox.git 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) --- 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 => {