You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gb...@apache.org on 2026/02/20 14:26:51 UTC

svn commit: r1931953 - httpd/httpd/trunk/server

Author: gbechis
Date: Fri Feb 20 14:26:51 2026
New Revision: 1931953

Log:
copy all the chars in ETag, included the last '"'
bz #69957

Modified:
   httpd/httpd/trunk/server/util_etag.c

Modified: httpd/httpd/trunk/server/util_etag.c
==============================================================================
--- httpd/httpd/trunk/server/util_etag.c	Fri Feb 20 13:50:47 2026	(r1931952)
+++ httpd/httpd/trunk/server/util_etag.c	Fri Feb 20 14:26:51 2026	(r1931953)
@@ -80,7 +80,7 @@ static void etag_end(char *next, const c
 {
     if (vlv) {
         *next++ = ';';
-        apr_cpystrn(next, vlv, vlv_len);
+        apr_cpystrn(next, vlv, vlv_len + 1);
     }
     else {
         *next++ = '"';