Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #9763

Closed
Open
Created Oct 23, 2015 by Administrator@rootOwner

API archive problem in 8.1.0

Created by: rkgrep

Since requests are being sent through gitlab-git-http-server, a problem arised.

I try to access the archive via api/v3/projects/namespace%2Fproject/repository/archive. gitlab-git-http-server successfully accepts the requests and passes it to 127.0.0.1:8080, however %2F is replaced to / and application returns 404.

Started GET "/api/v3/projects/rkgrep/toibiznes/repository/archive?sha=cbf1d893ecee58a2528f9822f1e58ea9db89b0f9&private_token=[FILTERED]" for 127.0.0.1 at 2015-10-23 13:52:56 +0600
Processing by NamespacesController#show as HTML
  Parameters: {"sha"=>"cbf1d893ecee58a2528f9822f1e58ea9db89b0f9", "private_token"=>"[FILTERED]", "id"=>"api/v3/projects/rkgrep/toibiznes/repository/archive"}
Completed 404 Not Found in 248ms (Views: 5.3ms | ActiveRecord: 46.6ms)

If I try to access /api/v3/projects/rkgrep%2Ftoibiznes/repository/archive without gitlab-git-http-server, it does return proper JSON.

Assignee
Assign to
Time tracking