summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-05-16 20:53:45 +0000
committerDouwe Maan <douwe@gitlab.com>2016-05-16 20:53:45 +0000
commit7ef44665128c4618f57d8665c16ba2b6be9f7473 (patch)
tree1682ebcfc18c58a766a24def747ae3c358b032e9
parent4f667997386a4443b62261c4ee63668936b1d24f (diff)
parentd71edf0dedb944be62390c0e6eea5f6e6da7a328 (diff)
downloadgitlab-ce-7ef44665128c4618f57d8665c16ba2b6be9f7473.tar.gz
Merge branch 'disallow-uploads' into 'master'
Disallow search engines from indexing uploads from a GitLab project. This can sometimes include sensitive information from private projects and confidential issues. It shouldn't be indexed. Resolves #15551. cc: @DouweM See merge request !4167
-rw-r--r--public/robots.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/robots.txt b/public/robots.txt
index 4f616c7f4c1..334f4c03533 100644
--- a/public/robots.txt
+++ b/public/robots.txt
@@ -65,3 +65,4 @@ Disallow: /*/*/deploy_keys
Disallow: /*/*/hooks
Disallow: /*/*/services
Disallow: /*/*/protected_branches
+Disallow: /*/*/uploads/