Page MenuHomePhorge

D25474.1737482391.diff
No OneTemporary

D25474.1737482391.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 21, 17:59 (16 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1114154
Default Alt Text
D25474.1737482391.diff (745 B)

Event Timeline