diff options
Diffstat (limited to 'modules/metadata')
-rw-r--r-- | modules/metadata/mod_headers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/metadata/mod_headers.c b/modules/metadata/mod_headers.c index 6d459b880b..d35c44f14b 100644 --- a/modules/metadata/mod_headers.c +++ b/modules/metadata/mod_headers.c @@ -641,7 +641,7 @@ static void do_headers_fixup(request_rec *r, apr_table_t *headers, break; } - if (new_val_len == (val - tok_start) + if (new_val_len == (apr_size_t)(val - tok_start) && !strncmp(tok_start, new_val, new_val_len)) { tok_found = 1; break; |