• Jacob Vosmaer's avatar
    Handle invalid number of arguments · ea88c9b2
    Jacob Vosmaer authored
    When a remote user with a valid SSH key runs something like 'ssh
    git@gitlab.example.com foobar', gitlab-shell would raise an exception in
    the GitlabShell#escape_path method. With this change, we catch an
    invalid number of arguments as soon as possible and exit.
    ea88c9b2
gitlab_shell.rb 2.55 KB