]> granicus.if.org Git - apache/commitdiff
Fix omission in r894036 noted by rpluem.
authorNick Kew <niq@apache.org>
Wed, 21 Jul 2010 00:20:43 +0000 (00:20 +0000)
committerNick Kew <niq@apache.org>
Wed, 21 Jul 2010 00:20:43 +0000 (00:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966059 13f79535-47bb-0310-9956-ffa450edef68

modules/metadata/mod_headers.c

index 8d869866a543293e5def2adefb3f68a7e0e44a28..549adbda50f1300096ac2bf7f796e12f96649716 100644 (file)
@@ -592,7 +592,7 @@ static const char *process_regexp(header_entry *hdr, const char *value,
     ret = apr_palloc(pool, strlen(value) + 1 + diffsz);
     memcpy(ret, value, pmatch[0].rm_so);
     strcpy(ret + pmatch[0].rm_so, subs);
-    strcat(ret, value + pmatch[0].rm_eo);
+    strcat(ret, remainder);
     return ret;
 }