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