Skip to content

Add `robots.txt` to the list of reserved namespaces

Nick Thomas requested to merge (removed):reserve-robots-txt-namespace into master

What does this MR do?

Reserves 'robots.txt' to prevent conflicts with the NGINX configuration

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Although it's unlikely that a user will try to create a namespace with this name, if they do, it will be broken. robots.txt is handled by static routing before reaching Rails.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

See #22759

Merge request reports