Fix Bug#30038
* lisp/net/tramp.el (tramp-make-tramp-file-name): Check, that method is not empty. (Bug#30038)
This commit is contained in:
@@ -1423,9 +1423,10 @@ the form (METHOD USER DOMAIN HOST PORT LOCALNAME &optional HOP)."
|
||||
localname (nth 5 args)
|
||||
hop (nth 6 args))))
|
||||
|
||||
(when (zerop (length method))
|
||||
(signal 'wrong-type-argument (list 'stringp method)))
|
||||
(concat tramp-prefix-format hop
|
||||
(unless (or (zerop (length method))
|
||||
(zerop (length tramp-postfix-method-format)))
|
||||
(unless (zerop (length tramp-postfix-method-format))
|
||||
(concat method tramp-postfix-method-format))
|
||||
user
|
||||
(unless (zerop (length domain))
|
||||
|
||||
Reference in New Issue
Block a user