Page MenuHomePhabricator

D16442.id39547.diff
No OneTemporary

D16442.id39547.diff

diff --git a/src/infrastructure/daemon/bot/handler/PhabricatorBotObjectNameHandler.php b/src/infrastructure/daemon/bot/handler/PhabricatorBotObjectNameHandler.php
--- a/src/infrastructure/daemon/bot/handler/PhabricatorBotObjectNameHandler.php
+++ b/src/infrastructure/daemon/bot/handler/PhabricatorBotObjectNameHandler.php
@@ -50,8 +50,14 @@
'(?:\b|$)'.
'@';
+ $regex = trim(
+ PhabricatorEnv::getEnvConfig('remarkup.ignored-object-names'));
+
if (preg_match_all($pattern, $message, $matches, PREG_SET_ORDER)) {
foreach ($matches as $match) {
+ if ($regex && preg_match($regex, $match[0])) {
+ continue;
+ }
switch ($match[1]) {
case 'P':
$paste_ids[] = $match[2];

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 5, 5:11 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6719919
Default Alt Text
D16442.id39547.diff (806 B)

Event Timeline