Skip to content

Commit 56ab573

Browse files
ldidrybluefeet
authored andcommitted
🔥 — Remove file renaming before upload
1 parent 823b872 commit 56ab573

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎lib/GitLab/API/v4/RESTClient.pm‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ sub request {
175175

176176
# Might as well mask the filename, but leave the extension.
177177
my $filename = $file->basename(); # foo/bar.txt => bar.txt
178-
$filename =~ s{^.*?(\.[^.]+|)}{upload$1}; # bar.txt => upload.txt
179178

180179
my $data = {
181180
file => {

0 commit comments

Comments
 (0)