Mercurial > emacs
changeset 79056:d678266f30ff
Diane Murray <disumu at x3y2z1.net>
(url-basic-auth): Set path to "/" when URL has an empty string filename.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 13 Oct 2007 02:45:16 +0000 |
parents | 3d1946da128d |
children | da8ccc714e26 |
files | lisp/url/url-auth.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/url/url-auth.el Fri Oct 12 08:49:20 2007 +0000 +++ b/lisp/url/url-auth.el Sat Oct 13 02:45:16 2007 +0000 @@ -74,6 +74,7 @@ (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