aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/url
diff options
context:
space:
mode:
authorMiles Bader <[email protected]>2007-10-13 05:53:03 +0000
committerMiles Bader <[email protected]>2007-10-13 05:53:03 +0000
commit2b42d458a45eaf9767da327f76a40a1cf9c77c23 (patch)
treef896828e65199d043ea7ab366fffea8bd315a986 /lisp/url
parent3e88ae627ef8d827b3f79e4e6f14aaad7adfe322 (diff)
parente2cfa9afa691fb8b7a554cb685c16ff3d4e1ff2b (diff)
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 880-885) - Remove RCS keywords from doc/misc/cc-mode.texi - Update from CVS Revision: [email protected]/emacs--unicode--0--patch-264
Diffstat (limited to 'lisp/url')
-rw-r--r--lisp/url/ChangeLog5
-rw-r--r--lisp/url/url-auth.el1
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index 5da6a1fbae..0e4362bce3 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-12 Diane Murray <[email protected]>
+
+ * url-auth.el (url-basic-auth): Set path to "/" when URL has an
+ empty string filename.
+
2007-09-26 Juanma Barranquero <[email protected]>
* url-dav.el (top):
diff --git a/lisp/url/url-auth.el b/lisp/url/url-auth.el
index e48a4e293b..60239ba76a 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