• Oursin's avatar
    Query encoding should use url.PathEscape (#482) · 2a9bc9a2
    Oursin authored
    * Query encoding should use url.PathEscape
    
    In repository_files.go, url encoding is done with url.QueryEscape, but this makes it impossible to get files with a space in their name. Using url.PathEncodes changes the space encoding from "+" to "%20" and fixes the issue.
    
    * Removed PathEscape when encoding project path
    
    * Fix typos
    2a9bc9a2
repository_files.go 7.62 KB