• 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
Name
Last commit
Last update
examples Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
access_requests.go Loading commit data...
award_emojis.go Loading commit data...
boards.go Loading commit data...
branches.go Loading commit data...
broadcast_messages.go Loading commit data...
broadcast_messages_test.go Loading commit data...
build_variables.go Loading commit data...
build_variables_test.go Loading commit data...
ci_yml_templates.go Loading commit data...
commits.go Loading commit data...
commits_test.go Loading commit data...
custom_attributes.go Loading commit data...
custom_attributes_test.go Loading commit data...
deploy_keys.go Loading commit data...
deployments.go Loading commit data...
environments.go Loading commit data...
event_types.go Loading commit data...
event_types_test.go Loading commit data...
events.go Loading commit data...
feature_flags.go Loading commit data...
feature_flags_test.go Loading commit data...
gitignore_templates.go Loading commit data...
gitlab.go Loading commit data...
gitlab_test.go Loading commit data...
group_boards.go Loading commit data...
group_members.go Loading commit data...
group_milestones.go Loading commit data...
group_variables.go Loading commit data...
groups.go Loading commit data...
groups_test.go Loading commit data...
issue_links.go Loading commit data...
issues.go Loading commit data...
jobs.go Loading commit data...
jobs_test.go Loading commit data...
keys.go Loading commit data...
labels.go Loading commit data...
license_templates.go Loading commit data...
merge_request_approvals.go Loading commit data...
merge_requests.go Loading commit data...
milestones.go Loading commit data...
namespaces.go Loading commit data...
notes.go Loading commit data...
notifications.go Loading commit data...
pages_domains.go Loading commit data...
pipeline_schedules.go Loading commit data...
pipeline_triggers.go Loading commit data...
pipeline_triggers_test.go Loading commit data...
pipelines.go Loading commit data...
pipelines_test.go Loading commit data...
project_badges.go Loading commit data...
project_members.go Loading commit data...
project_snippets.go Loading commit data...
project_variables.go Loading commit data...
projects.go Loading commit data...
projects_test.go Loading commit data...
protected_branches.go Loading commit data...
repositories.go Loading commit data...
repository_files.go Loading commit data...
runners.go Loading commit data...
runners_test.go Loading commit data...
search.go Loading commit data...
services.go Loading commit data...
services_test.go Loading commit data...
session.go Loading commit data...
settings.go Loading commit data...
sidekiq_metrics.go Loading commit data...
snippets.go Loading commit data...
strings.go Loading commit data...
system_hooks.go Loading commit data...
tags.go Loading commit data...
tags_test.go Loading commit data...
time_stats.go Loading commit data...
todos.go Loading commit data...
todos_test.go Loading commit data...
users.go Loading commit data...
validate.go Loading commit data...
validate_test.go Loading commit data...
version.go Loading commit data...
wikis.go Loading commit data...