You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2025/11/07 08:23:09 UTC

svn commit: r1929571 - in httpd/httpd/branches/2.4.x: . changes-entries docs/docroot include modules/examples modules/generators modules/http modules/ldap modules/mappers modules/proxy

Author: rpluem
Date: Fri Nov  7 08:23:08 2025
New Revision: 1929571

Log:
Merge r1873397 from trunk:

PR62989: DOCTYPE tags in server-generated HTML.

Submitted By: Andra Farkas <deepbluemistake gmail.com>, Giovanni Bechis <giovanni paclan.it>
Reviewed by: rpluem, jorton, covener

Github: closes #553

Deleted:
   httpd/httpd/branches/2.4.x/changes-entries/md_v2.6.1.txt
   httpd/httpd/branches/2.4.x/changes-entries/md_v2.6.2.txt
   httpd/httpd/branches/2.4.x/changes-entries/pr69743.txt
Modified:
   httpd/httpd/branches/2.4.x/   (props changed)
   httpd/httpd/branches/2.4.x/CHANGES
   httpd/httpd/branches/2.4.x/STATUS
   httpd/httpd/branches/2.4.x/docs/docroot/index.html
   httpd/httpd/branches/2.4.x/include/httpd.h
   httpd/httpd/branches/2.4.x/modules/examples/mod_example_hooks.c
   httpd/httpd/branches/2.4.x/modules/generators/mod_autoindex.c
   httpd/httpd/branches/2.4.x/modules/generators/mod_status.c
   httpd/httpd/branches/2.4.x/modules/http/http_protocol.c
   httpd/httpd/branches/2.4.x/modules/ldap/util_ldap.c
   httpd/httpd/branches/2.4.x/modules/mappers/mod_imagemap.c
   httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_balancer.c
   httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ftp.c

Modified: httpd/httpd/branches/2.4.x/CHANGES
==============================================================================
--- httpd/httpd/branches/2.4.x/CHANGES	Fri Nov  7 08:17:35 2025	(r1929570)
+++ httpd/httpd/branches/2.4.x/CHANGES	Fri Nov  7 08:23:08 2025	(r1929571)
@@ -1,6 +1,27 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.4.66
 
+  *) mod_ssl: Add SSLVHostSNIPolicy directive to control the virtual
+     host compatibility policy.  PR 69743.  [Joe Orton]
+
+  *) mod_md: update to version 2.6.2
+     - Fix error retry delay calculation to not already doubling the wait
+       on the first error.
+
+  *) mod_md: update to version 2.6.1
+     - Increasing default `MDRetryDelay` to 30 seconds to generate less bursty
+       traffic on errored renewals for the ACME CA. This leads to error retries
+        of 30s, 1 minute, 2, 4, etc. up to daily attempts.
+     - Checking that configuring `MDRetryDelay` will result in a positive
+       duration. A delay of 0 is not accepted.
+     - Fix a bug in checking Content-Type of responses from the ACME server.
+     - Added ACME ARI support (rfc9773) to the module. Enabled by default. New
+       directive "MDRenewViaARI on|off" for controlling this.
+     - Removing tailscale support. It has not been working for a long time
+       as the company decided to change their APIs. Away with the dead code,
+       documentation and tests.
+     - Fixed a compilation issue with pre-industrial versions of libcurl.
+
 Changes with Apache 2.4.65
 
   *) SECURITY: CVE-2025-54090: Apache HTTP Server: 'RewriteCond expr'

Modified: httpd/httpd/branches/2.4.x/STATUS
==============================================================================
--- httpd/httpd/branches/2.4.x/STATUS	Fri Nov  7 08:17:35 2025	(r1929570)
+++ httpd/httpd/branches/2.4.x/STATUS	Fri Nov  7 08:23:08 2025	(r1929571)
@@ -175,14 +175,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
      2.4.x patch: svn merge -c 1927792 ^/httpd/httpd/trunk .
      +1: icing, rpluem, jorton
 
-  *) various: Update DOCTYPE tags in server-generated HTML to 4.01
-     Trunk version of patch:
-        https://svn.apache.org/r1873397
-     Backport version for 2.4.x of patch:
-       https://patch-diff.githubusercontent.com/raw/apache/httpd/pull/553.diff
-     Can be applied via apply_backport_pr.sh 553
-     +1: rpluem, jorton, covener
-
   *) mpm_common: Add new ListenTCPDeferAccept directive that allows to specify
      the value set for the TCP_DEFER_ACCEPT socket option on listen sockets.
      Trunk version of patch:

Modified: httpd/httpd/branches/2.4.x/docs/docroot/index.html
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/docroot/index.html	Fri Nov  7 08:17:35 2025	(r1929570)
+++ httpd/httpd/branches/2.4.x/docs/docroot/index.html	Fri Nov  7 08:23:08 2025	(r1929571)
@@ -1 +1,9 @@
-<html><body><h1>It works!</h1></body></html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>It works! Apache httpd</title>
+</head>
+<body>
+<p>It works!</p>
+</body>
+</html>

Modified: httpd/httpd/branches/2.4.x/include/httpd.h
==============================================================================
--- httpd/httpd/branches/2.4.x/include/httpd.h	Fri Nov  7 08:17:35 2025	(r1929570)
+++ httpd/httpd/branches/2.4.x/include/httpd.h	Fri Nov  7 08:23:08 2025	(r1929571)
@@ -249,6 +249,10 @@ extern "C" {
 #define DOCTYPE_HTML_4_0F "<!DOCTYPE HTML PUBLIC \"-//W3C//" \
                           "DTD HTML 4.0 Frameset//EN\"\n" \
                           "\"http://www.w3.org/TR/REC-html40/frameset.dtd\">\n"
+/** HTML 4.01 Doctype */
+#define DOCTYPE_HTML_4_01 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n"
+/** HTML 5 Doctype */
+#define DOCTYPE_HTML_5 "<!DOCTYPE html>\n"
 /** XHTML 1.0 Strict Doctype */
 #define DOCTYPE_XHTML_1_0S "<!DOCTYPE html PUBLIC \"-//W3C//" \
                            "DTD XHTML 1.0 Strict//EN\"\n" \

Modified: httpd/httpd/branches/2.4.x/modules/examples/mod_example_hooks.c
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/examples/mod_example_hooks.c	Fri Nov  7 08:17:35 2025	(r1929570)
+++ httpd/httpd/branches/2.4.x/modules/examples/mod_example_hooks.c	Fri Nov  7 08:23:08 2025	(r1929571)
@@ -1006,7 +1006,7 @@ static int x_handler(request_rec *r)
      * Now send our actual output.  Since we tagged this as being
      * "text/html", we need to embed any HTML.
      */
-    ap_rputs(DOCTYPE_HTML_3_2, r);
+    ap_rputs(DOCTYPE_HTML_4_01, r);
     ap_rputs("<HTML>\n", r);
     ap_rputs(" <HEAD>\n", r);
     ap_rputs("  <TITLE>mod_example_hooks Module Content-Handler Output\n", r);

Modified: httpd/httpd/branches/2.4.x/modules/generators/mod_autoindex.c
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/generators/mod_autoindex.c	Fri Nov  7 08:17:35 2025	(r1929570)
+++ httpd/httpd/branches/2.4.x/modules/generators/mod_autoindex.c	Fri Nov  7 08:23:08 2025	(r1929571)
@@ -179,7 +179,7 @@ static void emit_preamble(request_rec *r
                   " <head>\n  <title>Index of ", title,
                   "</title>\n", NULL);
     } else {
-        ap_rvputs(r, DOCTYPE_HTML_3_2,
+        ap_rvputs(r, DOCTYPE_HTML_4_01,
                   "<html>\n <head>\n"
                   "  <title>Index of ", title,
                   "</title>\n", NULL);

Modified: httpd/httpd/branches/2.4.x/modules/generators/mod_status.c
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/generators/mod_status.c	Fri Nov  7 08:17:35 2025	(r1929570)
+++ httpd/httpd/branches/2.4.x/modules/generators/mod_status.c	Fri Nov  7 08:23:08 2025	(r1929571)
@@ -419,7 +419,7 @@ static int status_handler(request_rec *r
     ap_get_loadavg(&t);
 
     if (!short_report) {
-        ap_rputs(DOCTYPE_HTML_3_2
+        ap_rputs(DOCTYPE_HTML_4_01
                  "<html><head>\n"
                  "<title>Apache Status</title>\n"
                  "</head><body>\n"

Modified: httpd/httpd/branches/2.4.x/modules/http/http_protocol.c
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/http/http_protocol.c	Fri Nov  7 08:17:35 2025	(r1929570)
+++ httpd/httpd/branches/2.4.x/modules/http/http_protocol.c	Fri Nov  7 08:23:08 2025	(r1929571)
@@ -1520,7 +1520,7 @@ AP_DECLARE(void) ap_send_error_response(
          */
 
         ap_rvputs_proto_in_ascii(r,
-                  DOCTYPE_HTML_2_0
+                  DOCTYPE_HTML_4_01
                   "<html><head>\n<title>", title,
                   "</title>\n</head><body>\n<h1>", h1, "</h1>\n",
                   NULL);

Modified: httpd/httpd/branches/2.4.x/modules/ldap/util_ldap.c
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/ldap/util_ldap.c	Fri Nov  7 08:17:35 2025	(r1929570)
+++ httpd/httpd/branches/2.4.x/modules/ldap/util_ldap.c	Fri Nov  7 08:23:08 2025	(r1929571)
@@ -176,7 +176,7 @@ static int util_ldap_handler(request_rec
     if (r->header_only)
         return OK;
 
-    ap_rputs(DOCTYPE_HTML_3_2
+    ap_rputs(DOCTYPE_HTML_4_01
              "<html><head><title>LDAP Cache Information</title></head>\n", r);
     ap_rputs("<body bgcolor='#ffffff'><h1 align=center>LDAP Cache Information"
              "</h1>\n", r);

Modified: httpd/httpd/branches/2.4.x/modules/mappers/mod_imagemap.c
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/mappers/mod_imagemap.c	Fri Nov  7 08:17:35 2025	(r1929570)
+++ httpd/httpd/branches/2.4.x/modules/mappers/mod_imagemap.c	Fri Nov  7 08:23:08 2025	(r1929571)
@@ -477,7 +477,7 @@ static void menu_header(request_rec *r,
 {
     ap_set_content_type_ex(r, "text/html; charset=ISO-8859-1", 1);
 
-    ap_rvputs(r, DOCTYPE_HTML_3_2, "<html><head>\n<title>Menu for ",
+    ap_rvputs(r, DOCTYPE_HTML_4_01, "<html><head>\n<title>Menu for ",
               ap_escape_html(r->pool, r->uri),
               "</title>\n</head><body>\n", NULL);
 

Modified: httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_balancer.c
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_balancer.c	Fri Nov  7 08:17:35 2025	(r1929570)
+++ httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_balancer.c	Fri Nov  7 08:23:08 2025	(r1929571)
@@ -1620,7 +1620,7 @@ static void balancer_display_page(reques
     }
     else {
         ap_set_content_type(r, "text/html; charset=ISO-8859-1");
-        ap_rputs(DOCTYPE_HTML_3_2
+        ap_rputs(DOCTYPE_HTML_4_01
                  "<html><head><title>Balancer Manager</title>\n", r);
         ap_rputs("<style type='text/css'>\n"
                  "table {\n"

Modified: httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ftp.c
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ftp.c	Fri Nov  7 08:17:35 2025	(r1929570)
+++ httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ftp.c	Fri Nov  7 08:23:08 2025	(r1929571)
@@ -532,7 +532,7 @@ static apr_status_t proxy_send_dir_filte
 
         /* print "ftp://host/" */
         escpath = ap_escape_html(p, path);
-        str = apr_psprintf(p, DOCTYPE_HTML_3_2
+        str = apr_psprintf(p, DOCTYPE_HTML_4_01
                 "<html>\n <head>\n  <title>%s%s%s</title>\n"
                 "<base href=\"%s%s%s\">\n"
                 " </head>\n"