Skip to content
  • Kevin J. McCarthy's avatar
    RFC2047-decode mailto url headers after RFC2822 parsing. (closes #3879) · 09e8be75
    Kevin J. McCarthy authored
    Commit 55819a7e6169 performed the RFC2047 decode before the parsing.
    This works okay for headers such as subject, but for others such as
    address fields could lead to parsing errors.
    
    Change to perform a decode on envelope headers after all the calls to
    mutt_parse_rfc822_line(), using the same list of fields as
    mutt_read_rfc822_header().
    
    Change the do_2047 parameter of mutt_read_rfc822_line() to true, so
    that user headers are decoded if needed.
    09e8be75