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:
parent
3b4df55029
commit
ab8dad365f
1 changed files with 2 additions and 1 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue