BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
033a879c
Commit
033a879c
authored
Oct 14, 2015
by
Jacob Vosmaer
Committed by
GitLab
Oct 14, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix NGINX API download regex
Users are allowed to supply namespace%2Fproject instead of a numeric ID
parent
cb13980d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
gitlab
lib/support/nginx/gitlab
+1
-1
gitlab-ssl
lib/support/nginx/gitlab-ssl
+1
-1
No files found.
lib/support/nginx/gitlab
View file @
033a879c
...
...
@@ -125,7 +125,7 @@ server {
return 418;
}
location ~ ^/api/v3/projects/
[0-9]+
/repository/archive {
location ~ ^/api/v3/projects/
.*
/repository/archive {
# 'Error' 418 is a hack to re-use the @gitlab-git-http-server block
error_page 418 = @gitlab-git-http-server;
return 418;
...
...
lib/support/nginx/gitlab-ssl
View file @
033a879c
...
...
@@ -172,7 +172,7 @@ server {
return 418;
}
location ~ ^/api/v3/projects/
[0-9]+
/repository/archive {
location ~ ^/api/v3/projects/
.*
/repository/archive {
# 'Error' 418 is a hack to re-use the @gitlab-git-http-server block
error_page 418 = @gitlab-git-http-server;
return 418;
...
...
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