summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Harrison <matt@harrison.us.com>2016-09-23 10:57:44 -0400
committerMatt Harrison <matt@harrison.us.com>2016-09-23 10:57:44 -0400
commitf1df7b1bc223a1faad266658169095c56a08b31a (patch)
treea3b0100aad4834cbb0e85bc2b6f0e01a9ec13ee8
parentc2b8063fdabbd3c77d086d7dc80890eacebbaf65 (diff)
downloadgitlab-ce-f1df7b1bc223a1faad266658169095c56a08b31a.tar.gz
update robots.txt disallow
Allows projects in groups starting with "s" while still disallowing the snippets short urls.
-rw-r--r--CHANGELOG1
-rw-r--r--public/robots.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index c1da384b0f1..a6411317774 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,7 @@ Please view this file on the master branch, on stable branches it's out of date.
v 8.13.0 (unreleased)
- Speed-up group milestones show page
+ - Fix robots.txt disallowing access to groups starting with "s" (Matt Harrison)
v 8.12.1 (unreleased)
diff --git a/public/robots.txt b/public/robots.txt
index 334f4c03533..7d69fad59d1 100644
--- a/public/robots.txt
+++ b/public/robots.txt
@@ -23,7 +23,7 @@ Disallow: /groups/*/edit
Disallow: /users
# Global snippets
-Disallow: /s
+Disallow: /s/
Disallow: /snippets/new
Disallow: /snippets/*/edit
Disallow: /snippets/*/raw