Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
6e1d675d
Commit
6e1d675d
authored
Feb 03, 2017
by
Robert Schilling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API: Fix file downloading
parent
7dc8b6b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
changelogs/unreleased/api-fix-files.yml
changelogs/unreleased/api-fix-files.yml
+4
-0
lib/api/helpers.rb
lib/api/helpers.rb
+1
-1
No files found.
changelogs/unreleased/api-fix-files.yml
0 → 100644
View file @
6e1d675d
---
title
:
'
API:
Fix
file
downloading'
merge_request
:
Robert Schilling
author
:
8267
lib/api/helpers.rb
View file @
6e1d675d
...
...
@@ -304,7 +304,7 @@ module API
header
[
'X-Sendfile'
]
=
path
body
else
path
file
path
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment