From cbbbf7b15afb4884dbc75a535bd0572c1a38c521 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 13 Oct 2007 02:49:32 +0000 Subject: [PATCH] Diane Murray (url-basic-auth): Set path to "/" when URL has an empty string filename. --- lisp/url/ChangeLog | 5 +++++ lisp/url/url-auth.el | 1 + man/ChangeLog | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index c13a4f3b7a7..34db3be57d7 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,8 @@ +2007-10-12 Diane Murray + + * url-auth.el (url-basic-auth): Set path to "/" when URL has an + empty string filename. + 2007-10-09 Richard Stallman * url-parse.el (url-type, url-user, url-password, url-host) diff --git a/lisp/url/url-auth.el b/lisp/url/url-auth.el index 3c33fd914e5..b2de802cbad 100644 --- a/lisp/url/url-auth.el +++ b/lisp/url/url-auth.el @@ -74,6 +74,7 @@ instead of the pathname inheritance method." (setq server (format "%s:%d" server port) path (cond (realm realm) + ((string= "" path) "/") ((string-match "/$" path) path) (t (url-basepath path))) byserv (cdr-safe (assoc server diff --git a/man/ChangeLog b/man/ChangeLog index 707222a5fc4..6b8affa4888 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -1,3 +1,7 @@ +2007-10-13 Glenn Morris + + * misc.texi (Interactive Shell): Correct INSIDE_EMACS reference. + 2007-10-09 Richard Stallman * display.texi (Cursor Display): Correct how cursor appears -- 2.39.2