1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/src
epriestley fa943f744b Stop all object mentions from matching after "@"
Summary:
Fixes T9479. Currently, `@aaaaaaaa` may try to match as a commit hash, and `@C123456` may try to match as a Countdown reference. These should only match as user mentions.

Prevent object mention rules from matching after `@`. We already prevent them after `-` and `#`, and already prevented the username rule after `@` (i.e., preventing `@@user`).

Test Plan:
Created some "interesting" users locally and `@mentioned` them:

{F850779}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9479

Differential Revision: https://secure.phabricator.com/D14186
2015-09-29 06:43:49 -07:00
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Provide an AphrontController implementation of willSendResponse() 2015-09-07 17:18:35 -07:00
applications Stop all object mentions from matching after "@" 2015-09-29 06:43:49 -07:00
docs Update configuring_file_domain.diviner's cloudflare link 2015-09-29 03:35:59 -07:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Stop all object mentions from matching after "@" 2015-09-29 06:43:49 -07:00
view Make icon setting in Section Headers easier/consistent 2015-09-19 11:29:01 -07:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Provide a stable URI for getting raw paste content 2015-09-25 10:45:01 -07:00