changeset 85211:7d0c6a0340a2

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:46:28 +0000
parents 782f0bc49c07
children c316f959c68b
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	Sat Oct 13 00:07:23 2007 +0000
+++ b/lisp/url/url-auth.el	Sat Oct 13 02:46:28 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