]> git.eshelyaron.com Git - emacs.git/commit
Fix secret search with basic auth with a port in URL
authorBjörn Bidar <bjorn.bidar@thaodan.de>
Thu, 8 Aug 2024 14:31:20 +0000 (17:31 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:26 +0000 (09:51 +0200)
commitb6b044f1f862d4bf503852e3ab167dc5c036ba24
tree5091f899ad4bd5cc198f08bc0dfd743f17c0a5e2
parentab1afa1eeeec39642dfde8e3f6c54afef26db6b8
Fix secret search with basic auth with a port in URL

* lisp/url/url-auth.el (url-basic-auth): Fix retrieving of
secrets when the URL contains a port.  Amending the port to
server breaks 'auth-source-search' matching for :host which
is redundant as it already specified in :port.  (Bug#72526)

(cherry picked from commit a7a22e7c22cef0948f84daa86c9929d7b0dd6d56)
lisp/url/url-auth.el