]> git.eshelyaron.com Git - emacs.git/commit
Forward user to auth-source inside url-basic-auth
authorBjörn Bidar <bjorn.bidar@thaodan.de>
Thu, 8 Aug 2024 14:36:01 +0000 (17:36 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:28 +0000 (09:51 +0200)
commita1f29d9fac44f87e693dc743da0b5b798a7e9ffa
tree857c47f0335105a04cccd84db23202dbc6ac820f
parent2685856898eebcce463bb3c088cb02a973b7a811
Forward user to auth-source inside url-basic-auth

* lisp/url/url-auth.el (url-basic-auth): Forward the user if
provided by the url or found by 'auth-source' when searching
for secrets.  Supplying 'auth-source' with the user when
matching secrets allows for more accurate retrieval and fixes
instances where the user enters an url that already contains
the user such as "user@host.de".  (Bug#72526)

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