summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/files.py
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2021-04-26 22:37:01 +0200
committerGitHub <noreply@github.com>2021-04-26 22:37:01 +0200
commit37af2296703a481721489a66c5fc554257e34527 (patch)
treefba98537b4a8573987508d4538ad03ae0696a173 /gitlab/v4/objects/files.py
parente37de189d5799e9bdbbd7556289d4b617aff9c4d (diff)
parent8e25cecce3c0a19884a8d231ee1a672b80e94398 (diff)
downloadgitlab-2.7.1.tar.gz
Merge pull request #1418 from python-gitlab/fix/urlencode-file-pathsv2.7.1
fix(files): do not url-encode filepaths twice
Diffstat (limited to 'gitlab/v4/objects/files.py')
-rw-r--r--gitlab/v4/objects/files.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/gitlab/v4/objects/files.py b/gitlab/v4/objects/files.py
index 9fe692f..5d0401f 100644
--- a/gitlab/v4/objects/files.py
+++ b/gitlab/v4/objects/files.py
@@ -94,7 +94,6 @@ class ProjectFileManager(GetMixin, CreateMixin, UpdateMixin, DeleteMixin, RESTMa
Returns:
object: The generated RESTObject
"""
- file_path = file_path.replace("/", "%2F")
return GetMixin.get(self, file_path, ref=ref, **kwargs)
@cli.register_custom_action(