summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/files.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-04-26 22:23:58 +0200
committerNejc Habjan <hab.nejc@gmail.com>2021-04-26 22:23:58 +0200
commit8e25cecce3c0a19884a8d231ee1a672b80e94398 (patch)
treefba98537b4a8573987508d4538ad03ae0696a173 /gitlab/v4/objects/files.py
parente37de189d5799e9bdbbd7556289d4b617aff9c4d (diff)
downloadgitlab-8e25cecce3c0a19884a8d231ee1a672b80e94398.tar.gz
fix(files): do not url-encode file paths 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(