Commit ab8dad36 authored by Chong Yidong's avatar Chong Yidong
Browse files

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

parent 3b4df550
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment