Skip to content

Render 404 to search engine crawlers instead of redirecting to login

Heinrich Lee Yu requested to merge 258993-render-404-to-bots into master

What does this MR do?

This mitigates a problem with Google running into 503s because of Cloudflare when it is being redirected to the sign in page.

Related to #258993

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Heinrich Lee Yu

Merge request reports