]> git.eshelyaron.com Git - emacs.git/commitdiff
Make display of S/MIME signatures slightly better
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 23 Oct 2019 08:50:29 +0000 (10:50 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 23 Oct 2019 08:50:29 +0000 (10:50 +0200)
* lisp/epg.el (epg-signature-to-string): Decode percent escapes
(bug#36101).

lisp/epg.el

index 1a107600a5fac5cdb470c8b4faa66ecafe3a5495..090317f4221d19e9cb2b211a996429afeb795efc 100644 (file)
@@ -420,7 +420,7 @@ callback data (if any)."
      (if user-id
         (concat " "
                 (if (stringp user-id)
-                    user-id
+                    (epg--decode-percent-escape-as-utf-8 user-id)
                   (epg-decode-dn user-id)))
        "")
      (if (epg-signature-validity signature)