Page MenuHomePhorge

D25474.1736854345.diff
No OneTemporary

D25474.1736854345.diff

diff --git a/src/applications/system/controller/robots/PhabricatorRobotsPlatformController.php b/src/applications/system/controller/robots/PhabricatorRobotsPlatformController.php
--- a/src/applications/system/controller/robots/PhabricatorRobotsPlatformController.php
+++ b/src/applications/system/controller/robots/PhabricatorRobotsPlatformController.php
@@ -18,6 +18,8 @@
$out[] = 'User-Agent: *';
$out[] = 'Disallow: /diffusion/';
$out[] = 'Disallow: /source/';
+ // See T15670. Also prevent directly accessing commits in Diffusion.
+ $out[] = 'Disallow: /r*';
// See T15662. Prevent indexing line anchor links in Pastes. Per RFC 9309
// section 2.2.3, percentage-encode "$" to avoid interpretation as end of

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 14, 11:32 (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1114154
Default Alt Text
D25474.1736854345.diff (745 B)

Event Timeline