diff options
author | Troels Henriksen <athas@sigkill.dk> | 2022-12-23 16:23:19 +0100 |
---|---|---|
committer | Troels Henriksen <athas@sigkill.dk> | 2022-12-23 16:23:19 +0100 |
commit | ffb83a2edb908a20b666ae42855f51217a7fb0c1 (patch) | |
tree | f31d1aa5d2a4bd84a3d2f1cc6cf077231ca3ac09 | |
parent | e494fb8d507311de8452db3e6f111b1e32cc3c4d (diff) |
Do not pass URL directly to message.
This breaks if it contains any % characters.
-rw-r--r-- | lisp/mastodon-auth.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-auth.el b/lisp/mastodon-auth.el index 4c508a4..3de2901 100644 --- a/lisp/mastodon-auth.el +++ b/lisp/mastodon-auth.el @@ -137,7 +137,7 @@ When ASK is absent return nil." (let ((url (mastodon-auth--get-browser-login-url)) authorization-code) (kill-new url) - (message url) + (message "%s" url) (setq authorization-code (mastodon-auth--show-notice mastodon-auth--explanation "*mastodon-notice*" |