diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-15 13:50:30 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-25 08:29:43 +0200 |
commit | b7060be18ddc8e48d65c5909338662df5b0ec9bb (patch) | |
tree | 8538a32f626e13d745478a2a559664a1505e642c /lib/public/AppFramework/Http/Response.php | |
parent | a29c866292178528b92fdca1171e61e3912d766a (diff) | |
download | nextcloud-server-b7060be18ddc8e48d65c5909338662df5b0ec9bb.tar.gz nextcloud-server-b7060be18ddc8e48d65c5909338662df5b0ec9bb.zip |
Fix robots "noindex, nofollow" signals
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/AppFramework/Http/Response.php')
-rw-r--r-- | lib/public/AppFramework/Http/Response.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/Response.php b/lib/public/AppFramework/Http/Response.php index 832e0b96247..c26ea4ce400 100644 --- a/lib/public/AppFramework/Http/Response.php +++ b/lib/public/AppFramework/Http/Response.php @@ -239,6 +239,7 @@ class Response { $this->headers['Content-Security-Policy'] = $this->getContentSecurityPolicy()->buildPolicy(); $this->headers['Feature-Policy'] = $this->getFeaturePolicy()->buildPolicy(); + $this->headers['X-Robots-Tag'] = 'none'; if ($this->ETag) { $mergeWith['ETag'] = '"' . $this->ETag . '"'; |