##// END OF EJS Templates
sshpeer: check for safe ssh url (SEC)...
Sean Farley -
r33725:d7a1c4c1 stable
parent child Browse files
Show More
@@ -139,6 +139,8 b' class sshpeer(wireproto.wirepeer):'
139 139 if u.scheme != 'ssh' or not u.host or u.path is None:
140 140 self._abort(error.RepoError(_("couldn't parse location %s") % path))
141 141
142 util.checksafessh(path)
143
142 144 self.user = u.user
143 145 if u.passwd is not None:
144 146 self._abort(error.RepoError(_("password in URL not supported")))
General Comments 0
You need to be logged in to leave comments. Login now