diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c index 7ff83f5f0..3a996f6e7 100644 --- a/src/libutil/http.c +++ b/src/libutil/http.c @@ -633,6 +633,8 @@ rspamd_http_on_body_decrypted (http_parser * parser, const gchar *at, size_t len if (priv->header != NULL) { g_string_append_len (priv->header->combined, "\r\n", 2); + priv->header->value->str = priv->header->combined->str + + priv->header->name->len + 2; priv->header->value->len = priv->header->combined->len - priv->header->name->len - 4; DL_APPEND (priv->msg->headers, priv->header); |