#3879: mutt: encoded-words are not decoded in mailto: ------------------------+---------------------- Reporter: antonio@… | Owner: mutt-dev Type: defect | Status: reopened Priority: major | Milestone: Component: charset | Version: 1.7.0 Resolution: | Keywords: ------------------------+----------------------
Comment (by kevin8t8): I'm attaching a patch that takes the same approach as mutt_read_rfc822_header(). It changes the do_2047 parameter of mutt_parse_rfc822_line() to true (for user headers). Then it calls rfc2047_decode on all the other standard encoded header fields below (after the tokenizing and rfc822 parsing). I considered trying to keep track of which headers are in the mailto url, but given that the rfc2047_decode functions abort quickly if the header NULL, it seemed more likely to cause bugs than benefit. The copy/paste of fields from mutt_parse_rfc822_header() is also in somewhat poor taste, but I didn't think it was important enough to create a shared function for this. Feedback is most welcome! -- Ticket URL: <https://dev.mutt.org/trac/ticket/3879#comment:6> Mutt <http://www.mutt.org/> The Mutt mail user agent