Show More
@@ -139,6 +139,8 b' class sshpeer(wireproto.wirepeer):' | |||||
139 | if u.scheme != 'ssh' or not u.host or u.path is None: |
|
139 | if u.scheme != 'ssh' or not u.host or u.path is None: | |
140 | self._abort(error.RepoError(_("couldn't parse location %s") % path)) |
|
140 | self._abort(error.RepoError(_("couldn't parse location %s") % path)) | |
141 |
|
141 | |||
|
142 | util.checksafessh(path) | |||
|
143 | ||||
142 | self.user = u.user |
|
144 | self.user = u.user | |
143 | if u.passwd is not None: |
|
145 | if u.passwd is not None: | |
144 | self._abort(error.RepoError(_("password in URL not supported"))) |
|
146 | self._abort(error.RepoError(_("password in URL not supported"))) |
General Comments 0
You need to be logged in to leave comments.
Login now