This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
rspamd
mirror of
https://github.com/vstakhov/rspamd.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
159
Wiki
Activity
Browse Source
[Fix] Strip '\r\n' properly
tags/1.3.0
Vsevolod Stakhov
8 years ago
parent
b5e5f65db8
commit
22ea8ed506
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
4
0
src/libmime/message.c
+ 4
- 0
src/libmime/message.c
View File
@@ -679,6 +679,10 @@ rspamd_normalize_text_part (struct rspamd_task *task,
p = memchr (c, '\n', end - c);
if (p) {
if (*(p - 1) == '\r') {
p --;
}
if (p > c) {
g_byte_array_append (part->stripped_content, c, p - c);
}
Write
Preview
Loading…
Cancel
Save