* lisp/net/tramp.el (tramp-make-tramp-file-name): Check, that
method is not empty. (Bug#30038)
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))