Skip to content

Commit

Permalink
lib-sieve: vacation extension: Enforce subject header limit in Unicod…
Browse files Browse the repository at this point in the history
…e codepoints rather than bytes.
  • Loading branch information
stephanbosch authored and villesavolainen committed Apr 27, 2018
1 parent d640748 commit e9248e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-sieve/plugins/vacation/cmd-vacation.c
Expand Up @@ -1006,7 +1006,7 @@ static int act_vacation_send
subject = ctx->subject;
}

subject = str_sanitize(subject, 256);
subject = str_sanitize_utf8(subject, 256);

/* Obtain full To address for reply */

Expand Down

0 comments on commit e9248e0

Please sign in to comment.