When file paths are sent to GitLab, their path gets encoded using the default java.net.URLEncoder which is documented as "an utility for HTML form encoding". However, URL form encoding differs from path encoding at least concerning the way spaces get encoded, as explained in details in this stackoverflow post. This means that the method "sanitizePath" of GitlabAPI should take this into account and convert "+" characters into the string "%20".
When file paths are sent to GitLab, their path gets encoded using the default java.net.URLEncoder which is documented as "an utility for HTML form encoding". However, URL form encoding differs from path encoding at least concerning the way spaces get encoded, as explained in details in this stackoverflow post. This means that the method "sanitizePath" of GitlabAPI should take this into account and convert "+" characters into the string "%20".