projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3fbe04
)
Fix url-auth prompts when realm is empty
author
Thomas Fitzsimmons
<fitzsim@fitzsim.org>
Wed, 15 May 2019 04:14:21 +0000
(06:14 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 15 May 2019 04:14:21 +0000
(06:14 +0200)
* lisp/url/url-auth.el (url-get-authentication): When realm is
empty, use the entire URL in the prompt (bug#35688).
lisp/url/url-auth.el
patch
|
blob
|
history
diff --git
a/lisp/url/url-auth.el
b/lisp/url/url-auth.el
index 0746cfd96cb832b599644b1d61c98be1e8a67c3d..f644787cc6419a2f2d361f7ef87360fc0e4a6051 100644
(file)
--- a/
lisp/url/url-auth.el
+++ b/
lisp/url/url-auth.el
@@
-478,6
+478,8
@@
PROMPT is boolean - specifies whether to ask the user for a username/password
if one cannot be found in the cache"
(if (not realm)
(setq realm (cdr-safe (assoc "realm" args))))
+ (if (equal realm "")
+ (setq realm nil))
(if (stringp url)
(setq url (url-generic-parse-url url)))
(if (or (null type) (eq type 'any))