summaryrefslogtreecommitdiff
path: root/modules/md
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2022-05-14 13:49:05 +0000
committerStefan Eissing <icing@apache.org>2022-05-14 13:49:05 +0000
commit56f80efab8686b8b295865526c2fbbc3e3534f5c (patch)
tree162e040228f81fdc58c7bc8e797f6a89142e5fed /modules/md
parent1e27ffd880d8d1c3ea894cc5d6919eb5d517f0e0 (diff)
downloadhttpd-56f80efab8686b8b295865526c2fbbc3e3534f5c.tar.gz
*) mod_md: handle case in status print when no url is present
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1900887 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/md')
-rw-r--r--modules/md/mod_md_status.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/md/mod_md_status.c b/modules/md/mod_md_status.c
index 96c988782b..22860515ff 100644
--- a/modules/md/mod_md_status.c
+++ b/modules/md/mod_md_status.c
@@ -360,6 +360,9 @@ static void val_url_print(status_ctx *ctx, const status_info *info,
else if (url) {
s = md_get_ca_name_from_url(ctx->p, url);
}
+ else {
+ return;
+ }
if (HTML_STATUS(ctx)) {
apr_brigade_printf(ctx->bb, NULL, NULL, "%s<a href='%s'>%s</a>",
i? " " : "",