gitosis and 'Arguments to command look dangerous'

by Karanbir Singh Email

Trying to pull from a remote repo, just ran into this strange error being reported by gitosis.

ERROR:gitosis.serve.main:Arguments to command look dangerous

And in typical gitosis ways, its down to trawling the sources to workout what the problem might be. In this case it turns out that I had a / at the end of the reponame. I was trying to :

git clone ssh://git@remotehost/blah/repo/

Which made gitosis quite angry, it did not like that / at the end of the clone request. Changing that to 'ssh://git@remotehost/blah/repo' makes things work again.

- KB

Feedback awaiting moderation

This post has 19 feedbacks awaiting moderation...

Leave a comment


Your email address will not be revealed on this site.
(Line breaks become <br />)
(For my next comment on this site)
(Allow users to contact me through a message form -- Your email will not be revealed!)