1. 17 Tem, 2016 1 kayıt (commit)
  2. 26 May, 2016 1 kayıt (commit)
  3. 17 Nis, 2016 1 kayıt (commit)
  4. 17 May, 2015 1 kayıt (commit)
    • R David Murray's avatar
      #24211: Add RFC6532 support to the email library. · 224ef3ec
      R David Murray yazdı
      This could use more edge case tests, but the basic functionality is tested.
      (Note that this changeset does not add tailored support for the RFC 6532
      message/global MIME type, but the email package generic facilities will handle
      it.)
      
      Reviewed by Maciej Szulik.
      224ef3ec
  5. 30 Mar, 2015 1 kayıt (commit)
    • R David Murray's avatar
      #23745: handle duplicate MIME parameter names in new parser. · 7d0325d6
      R David Murray yazdı
      This mimics get_param's error handling for the most part.  It is slightly
      better in some regards as get_param can produce some really weird results for
      duplicate *0* parts.  It departs from get_param slightly in that if we have a
      mix of non-extended and extended pieces for the same parameter name, the new
      parser assumes they were all supposed to be extended and concatenates all the
      values, whereas get_param always picks the non-extended parameter value.  All
      of this error recovery is pretty much arbitrary decisions...
      7d0325d6
  6. 04 Agu, 2014 1 kayıt (commit)
  7. 20 Mar, 2014 1 kayıt (commit)
  8. 08 Şub, 2014 1 kayıt (commit)
    • R David Murray's avatar
      #16983: Apply postel's law to encoded words inside quoted strings. · 0400d339
      R David Murray yazdı
      This applies only to the new parser.  The old parser decodes encoded words
      inside quoted strings already, although it gets the whitespace wrong
      when it does so.
      
      This version of the patch only handles the most common case (a single encoded
      word surrounded by quotes), but I haven't seen any other variations of this in
      the wild yet, so its good enough for now.
      0400d339
  9. 12 Tem, 2013 1 kayıt (commit)
  10. 11 Tem, 2013 1 kayıt (commit)
    • R David Murray's avatar
      #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?= · 65171b28
      R David Murray yazdı
      The problem was I was only checking for decimal digits after the third '?',
      not for *hex* digits :(.
      
      This changeset also fixes a couple of comment typos, deletes an unused
      function relating to encoded word parsing, and removed an invalid
      'if' test from the folding function that was revealed by the tests
      written to validate this issue.
      65171b28
  11. 26 Mar, 2013 1 kayıt (commit)
  12. 11 Mar, 2013 1 kayıt (commit)
  13. 01 Eki, 2012 1 kayıt (commit)
  14. 24 Haz, 2012 1 kayıt (commit)
    • R David Murray's avatar
      #15160: Extend the new email parser to handle MIME headers. · 97f43c01
      R David Murray yazdı
      This code passes all the same tests that the existing RFC mime header
      parser passes, plus a bunch of additional ones.
      
      There are a couple of commented out tests where there are issues with the
      folding.  The folding doesn't normally get invoked for headers parsed from
      source, and the cases are marginal anyway (headers with invalid binary data)
      so I'm not worried about them, but will fix them after the beta.
      
      There are things that can be done to make this API even more convenient, but I
      think this is a solid foundation worth having.  And the parser is a full RFC
      parser, so it handles cases that the current parser doesn't.  (There are also
      probably cases where it fails when the current parser doesn't, but I haven't
      found them yet ;)
      
      Oh, yeah, and there are some really ugly bits in the parser for handling some
      'postel' cases that are unfortunately common.
      
      I hope/plan to to eventually refactor a lot of the code in the parser which
      should reduce the line count...but there is no escaping the fact that the
      error recovery is welter of special cases.
      97f43c01
  15. 26 May, 2012 1 kayıt (commit)
  16. 25 May, 2012 1 kayıt (commit)
    • R David Murray's avatar
      #12586: add provisional email policy with new header parsing and folding. · 0b6f6c82
      R David Murray yazdı
      When the new policies are used (and only when the new policies are explicitly
      used) headers turn into objects that have attributes based on their parsed
      values, and can be set using objects that encapsulate the values, as well as
      set directly from unicode strings.  The folding algorithm then takes care of
      encoding unicode where needed, and folding according to the highest level
      syntactic objects.
      
      With this patch only date and time headers are parsed as anything other than
      unstructured, but that is all the helper methods in the existing API handle.
      I do plan to add more parsers, and complete the set specified in the RFC
      before the package becomes stable.
      0b6f6c82