1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 20:32:00 -08:00

(url-basic-auth): Encode password string.

This commit is contained in:
Chong Yidong 2008-10-20 16:06:03 +00:00
parent 3b4df55029
commit ab8dad365f

View file

@ -93,7 +93,8 @@ instead of the filename inheritance method."
(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)))