# HG changeset patch # User Richard M. Stallman # Date 807320329 0 # Node ID bcaa94db623cdceb061d18e6e2168beed15c1f9e # Parent 8b44b70e655dee3276ef276b5e794381750a88aa (file-name-handler-alist): Don't match host name ending in period. diff -r 8b44b70e655d -r bcaa94db623c lisp/ange-ftp.el --- a/lisp/ange-ftp.el Tue Aug 01 23:34:53 1995 +0000 +++ b/lisp/ange-ftp.el Tue Aug 01 23:38:49 1995 +0000 @@ -3826,10 +3826,11 @@ ;;; This regexp takes care of real ange-ftp file names (with a slash ;;; and colon). +;;; Don't allow the host name to end in a period--some systems use /.: ;;;###autoload -(or (assoc "^/[^/:]*[^/:]:" file-name-handler-alist) +(or (assoc "^/[^/:]*[^/:.]:" file-name-handler-alist) (setq file-name-handler-alist - (cons '("^/[^/:]*[^/:]:" . ange-ftp-hook-function) + (cons '("^/[^/:]*[^/:.]:" . ange-ftp-hook-function) file-name-handler-alist))) ;;; This regexp recognizes and absolute filenames with only one component,