From 61af5631a63951dda53a49c2a0146af685fc598c Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 20 May 2014 11:58:36 +0000 Subject: [PATCH 1/1] Actually show the FORCE_PREFIX value on the show-status page Unless I miss something, this never worked before. --- cgisimple.c | 4 +++- templates/show-status | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cgisimple.c b/cgisimple.c index 855cadc1..5cc7c6b6 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -1,4 +1,4 @@ -const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.124 2014/05/20 11:55:24 fabiankeil Exp $"; +const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.125 2014/05/20 11:56:08 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $ @@ -1064,6 +1064,8 @@ jb_err cgi_show_status(struct client_state *csp, } #endif /* ndef CGI_EDIT_ACTIONS */ + if (!err) err = map(exports, "force-prefix", 1, FORCE_PREFIX, 1); + if (err) { free_map(exports); diff --git a/templates/show-status b/templates/show-status index c5e59c0f..67756346 100644 --- a/templates/show-status +++ b/templates/show-status @@ -281,7 +281,7 @@ FEATURE_FORCE_LOAD @if-FEATURE_FORCE_LOAD-then@ Yes @else-not-FEATURE_FORCE_LOAD@ No @endif-FEATURE_FORCE_LOAD@ Allows bypassing all filtering for a single page using the prefix - @FORCE_PREFIX@. + @force-prefix@. FEATURE_GRACEFUL_TERMINATION -- 2.39.2