Fix Bug#30946
commitb9340aad7961c57fbd458d52e813b71f09aaa45f
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 29 Mar 2018 13:59:11 +0000 (29 15:59 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 29 Mar 2018 13:59:11 +0000 (29 15:59 +0200)
treee1ea831aa4368db4869712f11d8a1cf89e2d1b43
parent9ad3560db6b67777bc8f9b370e053b6a19a7501f
Fix Bug#30946

* doc/misc/tramp.texi (Multi-hops): Mention host name checks.

* lisp/net/tramp.el (tramp-set-syntax, tramp-dissect-file-name)
(tramp-debug-message, tramp-handle-shell-command):
* lisp/net/tramp-adb.el (tramp-adb-handle-shell-command):
* lisp/net/tramp-archive.el (tramp-archive-file-name-handler)
(tramp-archive-dissect-file-name):
* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.

* lisp/net/tramp-compat.el (tramp-compat-user-error): Move defsubst ---

* lisp/net/tramp-sh.el (tramp-compute-multi-hops): Check for proper
host names in multi-hop.  (Bug#30946)

* lisp/net/tramp.el (tramp-user-error): ... here.  Make it a defun.

* test/lisp/net/tramp-tests.el (tramp-test03-file-name-host-rules):
New test.
doc/misc/tramp.texi
lisp/net/tramp-adb.el
lisp/net/tramp-archive.el
lisp/net/tramp-compat.el
lisp/net/tramp-gvfs.el
lisp/net/tramp-sh.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el