Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 2
    • Merge requests 2
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Merge requests
  • !16128

Fix Error 500s with anonymous clones for a project that has moved

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Stan Hu requested to merge sh-handle-anonymous-clones-project-moved into master Dec 24, 2017
  • Overview 8
  • Commits 2
  • Pipelines 2
  • Changes 3

We use a custom Redis key to post a redirect message for specific users, but for anonymous clones this fails because there is no id associated with it.

For now, disable redirect messages for anonymous clone since they will never see them since there is no associated user ID in the post_receive endpoint.

Closes #41457 (closed)

/cc: @mayra-cabrera, @DouweM

Edited Dec 25, 2017 by Stan Hu
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: sh-handle-anonymous-clones-project-moved