]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
*) mod_md: handle case in status print when no url is present
authorStefan Eissing <icing@apache.org>
Sat, 14 May 2022 13:49:05 +0000 (13:49 +0000)
committerStefan Eissing <icing@apache.org>
Sat, 14 May 2022 13:49:05 +0000 (13:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1900887 13f79535-47bb-0310-9956-ffa450edef68

modules/md/mod_md_status.c

index 96c988782b5d8d358503f805e486ccb4fb2dfa1b..22860515ffdcd71c827d6a6001b4970a45ba9579 100644 (file)
@@ -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? " " : "",