Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15465603
D8863.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8863.diff
View Options
diff --git a/src/applications/home/controller/PhabricatorHomeQuickCreateController.php b/src/applications/home/controller/PhabricatorHomeQuickCreateController.php
--- a/src/applications/home/controller/PhabricatorHomeQuickCreateController.php
+++ b/src/applications/home/controller/PhabricatorHomeQuickCreateController.php
@@ -29,6 +29,7 @@
),
array(
'title' => pht('Quick Create'),
+ 'device' => true,
));
}
diff --git a/src/applications/people/remarkup/PhabricatorRemarkupRuleMention.php b/src/applications/people/remarkup/PhabricatorRemarkupRuleMention.php
--- a/src/applications/people/remarkup/PhabricatorRemarkupRuleMention.php
+++ b/src/applications/people/remarkup/PhabricatorRemarkupRuleMention.php
@@ -18,7 +18,10 @@
// username, so we'll incorrectly pick it up, but there's little to be done
// about that. We forbid terminal periods so that we can correctly capture
// "@joe" instead of "@joe." in "Hey, @joe.".
- const REGEX = '/(?<!\w)@([a-zA-Z0-9._-]*[a-zA-Z0-9_-])/';
+ //
+ // We disallow "@@joe" because it creates a false positive in the common
+ // construction "l@@k", made popular by eBay.
+ const REGEX = '/(?<!\w|@)@([a-zA-Z0-9._-]*[a-zA-Z0-9_-])/';
public function apply($text) {
return preg_replace_callback(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 3, 9:10 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7710523
Default Alt Text
D8863.diff (1 KB)
Attached To
Mode
D8863: Fix quick create on mobile
Attached
Detach File
Event Timeline
Log In to Comment