From 7808644f0a321ed0d59927a09a000b74fbae8f78 Mon Sep 17 00:00:00 2001 From: Giovanni Bechis Date: Fri, 20 Feb 2026 14:26:51 +0000 Subject: [PATCH] copy all the chars in ETag, included the last '"' bz #69957 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1931953 13f79535-47bb-0310-9956-ffa450edef68 --- server/util_etag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/util_etag.c b/server/util_etag.c index af74549d339..5c1e1a6de97 100644 --- a/server/util_etag.c +++ b/server/util_etag.c @@ -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++ = '"'; -- 2.47.3