emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/url-http-ntlm c7587cb 39/42: url-http-ntlm.el: Omit use


From: Stefan Monnier
Subject: [elpa] externals/url-http-ntlm c7587cb 39/42: url-http-ntlm.el: Omit user and domain in Type 1 message
Date: Sat, 28 Nov 2020 17:19:49 -0500 (EST)

branch: externals/url-http-ntlm
commit c7587cbd2dca88d57c1645899450cbe72976238b
Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Commit: Thomas Fitzsimmons <fitzsim@fitzsim.org>

    url-http-ntlm.el: Omit user and domain in Type 1 message
    
    * packages/url-http-ntlm/url-http-ntlm.el (url-ntlm-auth): Omit
    user and domain in Type 1 message.
---
 url-http-ntlm.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/url-http-ntlm.el b/url-http-ntlm.el
index 841dc6c..b460207 100644
--- a/url-http-ntlm.el
+++ b/url-http-ntlm.el
@@ -296,7 +296,9 @@ the server's last response.  These are used by
             (url-http-ntlm--authorization user-url nil realm)
           (when (cl-third key)
             (url-http-ntlm--string
-           (ntlm-build-auth-request (cl-second key) (cl-third key))))))
+             ;; Match Mozilla behavior by omitting user and domain
+             ;; from Type 1 message.
+             (ntlm-build-auth-request nil)))))
        ;; NTLM Type 3 message: the response
        (:response
         (url-http-ntlm--detect-loop user-url)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]