summaryrefslogtreecommitdiffstats
path: root/modules/metadata/mod_headers.c
diff options
context:
space:
mode:
authorNick Kew <niq@apache.org>2010-07-21 02:20:43 +0200
committerNick Kew <niq@apache.org>2010-07-21 02:20:43 +0200
commit8dfbc67165ed08e9f3919149576f8004f4534108 (patch)
tree66b6dd7d606f4b5de2de2698a9e3951539b6a2e1 /modules/metadata/mod_headers.c
parentFix up some SSL configuration, per issue #49484. IE6 had a hotfix released (diff)
downloadapache2-8dfbc67165ed08e9f3919149576f8004f4534108.tar.xz
apache2-8dfbc67165ed08e9f3919149576f8004f4534108.zip
Fix omission in r894036 noted by rpluem.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966059 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/metadata/mod_headers.c')
-rw-r--r--modules/metadata/mod_headers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/metadata/mod_headers.c b/modules/metadata/mod_headers.c
index 8d869866a5..549adbda50 100644
--- a/modules/metadata/mod_headers.c
+++ b/modules/metadata/mod_headers.c
@@ -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;
}