/[Apache-SVN]/httpd/httpd/trunk/modules/filters/mod_deflate.c
ViewVC logotype

Diff of /httpd/httpd/trunk/modules/filters/mod_deflate.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- httpd/httpd/trunk/modules/filters/mod_deflate.c	2009/02/02 23:20:37	740149
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c	2009/02/07 09:25:28	741865
@@ -395,7 +395,7 @@
     const char *etag = apr_table_get(r->headers_out, "ETag");
     if ((etag && (strlen(etag) > 2))) {
         if (etag[0] == '"') {
-            etag = apr_pstrndup(r->pool, etag, strlen(etag) - 2);
+            etag = apr_pstrndup(r->pool, etag, strlen(etag) - 1);
             apr_table_set(r->headers_out, "ETag",
                           apr_pstrcat(r->pool, etag, "-", transform, "\"", NULL));
         }

 

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2