-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mailinfo: correctly handle multiline 'Subject:' header
When native language (RU) is in use, subject header usually contains several parts, e.g. Subject: [Navy-patches] [PATCH] =?utf-8?b?0JjQt9C80LXQvdGR0L0g0YHQv9C40YHQvtC6INC/0LA=?= =?utf-8?b?0LrQtdGC0L7QsiDQvdC10L7QsdGF0L7QtNC40LzRi9GFINC00LvRjyA=?= =?utf-8?b?0YHQsdC+0YDQutC4?= This exposes several bugs in builtin-mailinfo.c: 1. decode_b_segment: do not append explicit NUL -- explicit NUL was preventing correct header construction on parts concatenation via strbuf_addbuf in decode_header_bq. Fixes: -Subject: Изменён список пакетов необходимых для сборки +Subject: Изменён список па Then 2. Do not emit '\n' between "encoded-word" where RFC2046 says that linear white space between them are ignored when displaying. Fixes: -Subject: Изменён список пакетов необходимых для сборки +Subject: Изменён список па кетов необходимых для сборки Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information
Kirill Smelkov
authored and
Junio C Hamano
committed
Jan 11, 2009
1 parent
141201d
commit 353aaf2
Showing
6 changed files
with
114 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Author: Dmitriy Blinov | ||
Email: bda@mnsspb.ru | ||
Subject: Изменён список пакетов необходимых для сборки | ||
Date: Wed, 12 Nov 2008 17:54:41 +0300 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
textlive-* исправлены на texlive-* | ||
docutils заменён на python-docutils | ||
|
||
Действительно, оказалось, что rest2web вытягивает за собой | ||
python-docutils. В то время как сам rest2web не нужен. | ||
|
||
Signed-off-by: Dmitriy Blinov <bda@mnsspb.ru> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
howto/build_navy.txt | 6 +++--- | ||
1 files changed, 3 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/howto/build_navy.txt b/howto/build_navy.txt | ||
index 3fd3afb..0ee807e 100644 | ||
--- a/howto/build_navy.txt | ||
+++ b/howto/build_navy.txt | ||
@@ -119,8 +119,8 @@ | ||
- libxv-dev | ||
- libusplash-dev | ||
- latex-make | ||
- - textlive-lang-cyrillic | ||
- - textlive-latex-extra | ||
+ - texlive-lang-cyrillic | ||
+ - texlive-latex-extra | ||
- dia | ||
- python-pyrex | ||
- libtool | ||
@@ -128,7 +128,7 @@ | ||
- sox | ||
- cython | ||
- imagemagick | ||
- - docutils | ||
+ - python-docutils | ||
|
||
#. на машине dinar: добавить свой открытый ssh-ключ в authorized_keys2 пользователя ddev | ||
#. на своей машине: отредактировать /etc/sudoers (команда ``visudo``) примерно следующим образом:: | ||
-- | ||
1.5.6.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters