Commit c86bd65b authored by Richard M. Stallman's avatar Richard M. Stallman

(file-name-handler-alist): Don't match host name ending in period.

parent 033ef863
......@@ -3826,10 +3826,11 @@ NEWNAME should be the name to give the new compressed or uncompressed file.")
;;; 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 /.:
(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)
;;; This regexp recognizes and absolute filenames with only one component,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment