Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • heptapod heptapod
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • heptapodheptapod
  • heptapodheptapod
  • Merge requests
  • !14

Make sure an unauthorized authenticated pull gives a 404

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Georges Racinet requested to merge topic/heptapod/unauth_404 into branch/heptapod Apr 03, 2019
  • Overview 4
  • Commits 1
  • Pipelines 1
  • Changes 1

Without this change, a clone on a private repo by an authenticated user that doesn't have read permissions gives an error 500, which isn't user-friendly and can be considered a minor information leak.

Kept catching the GitAccess exception mostly in case, I'm not sure whether it's supposed to happen with Heptapod.

--HG-- branch : heptapod

Edited Apr 03, 2019 by Georges Racinet
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: topic/heptapod/unauth_404