Mercurial > emacs
changeset 98938:1fa392febf9a
(url-basic-auth): Encode password string.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 20 Oct 2008 16:06:03 +0000 |
parents | 8b3687fd75fe |
children | 8d3f352dfa8d |
files | lisp/url/url-auth.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/url/url-auth.el Mon Oct 20 16:05:53 2008 +0000 +++ b/lisp/url/url-auth.el Mon Oct 20 16:06:03 2008 +0000 @@ -93,7 +93,8 @@ (cons file (setq retval (base64-encode-string - (format "%s:%s" user pass))))) + (format "%s:%s" user + (encode-coding-string pass 'utf-8)))))) (symbol-value url-basic-auth-storage)))) (byserv (setq retval (cdr-safe (assoc file byserv)))