diff options
author | Glenn Morris <rgm@gnu.org> | 2007-10-13 02:50:02 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-10-13 02:50:02 +0000 |
commit | 3aa491bcaf40a24357a6527b92277e15aa878424 (patch) | |
tree | 98edf2b1351b8946d5d4dd53bfd09c5e51a857d0 | |
parent | 5eee3c954ef8f1f7a1c6390875a22339b8e2b446 (diff) | |
download | emacs-3aa491bcaf40a24357a6527b92277e15aa878424.tar.gz |
Diane Murray <disumu at x3y2z1.net>
(url-basic-auth): Set path to "/" when URL has an empty string filename.
-rw-r--r-- | doc/emacs/ChangeLog | 6 | ||||
-rw-r--r-- | lisp/url/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/url/url-auth.el | 1 |
3 files changed, 11 insertions, 1 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 6786728661e..279a9a47ec3 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,7 @@ +2007-10-13 Glenn Morris <rgm@gnu.org> + + * misc.texi (Interactive Shell): Correct INSIDE_EMACS reference. + 2007-10-11 Eric S. Raymond <esr@snark.thyrsus.com> * emacs.texi: @@ -6,7 +10,7 @@ 2007-10-10 Eric S. Raymond <esr@snark.thyrsus.com> - * files.texi (Version Systems): + * files.texi (Version Systems): * vc-xtra.texi: * vc1-xtra.texi: * vc2-xtra.texi: Merge in changes for new VC with fileset-oriented diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 5da6a1fbae3..0e4362bce31 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,8 @@ +2007-10-12 Diane Murray <disumu@x3y2z1.net> + + * url-auth.el (url-basic-auth): Set path to "/" when URL has an + empty string filename. + 2007-09-26 Juanma Barranquero <lekktu@gmail.com> * url-dav.el (top): diff --git a/lisp/url/url-auth.el b/lisp/url/url-auth.el index e48a4e293bd..60239ba76ac 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 |