]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
copy all the chars in ETag, included the last '"'
authorGiovanni Bechis <gbechis@apache.org>
Fri, 20 Feb 2026 14:26:51 +0000 (14:26 +0000)
committerGiovanni Bechis <gbechis@apache.org>
Fri, 20 Feb 2026 14:26:51 +0000 (14:26 +0000)
bz #69957

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1931953 13f79535-47bb-0310-9956-ffa450edef68

server/util_etag.c

index af74549d3399c4dfe4453394baa56eb8420a803d..5c1e1a6de97703822b056de5451e950a4320f73b 100644 (file)
@@ -80,7 +80,7 @@ static void etag_end(char *next, const char *vlv, apr_size_t vlv_len)
 {
     if (vlv) {
         *next++ = ';';
-        apr_cpystrn(next, vlv, vlv_len);
+        apr_cpystrn(next, vlv, vlv_len + 1);
     }
     else {
         *next++ = '"';