Page MenuHomePhabricator

D18324.diff
No OneTemporary

D18324.diff

diff --git a/src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php b/src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php
--- a/src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php
+++ b/src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php
@@ -554,9 +554,10 @@
// "ab.cd", where short substrings are separated by periods, do not produce
// any queryable tokens. These terms are meaningful if at least one
// substring is longer than the minimum length, like "example.py". See
- // T12928.
+ // T12928. This also applies to words with intermediate apostrophes, like
+ // "to's".
- $parts = preg_split('/[.]+/', $value);
+ $parts = preg_split('/[.\']+/', $value);
foreach ($parts as $part) {
if (phutil_utf8_strlen($part) >= $min_length) {

File Metadata

Mime Type
text/plain
Expires
Oct 16 2024, 12:52 AM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6715181
Default Alt Text
D18324.diff (900 B)

Event Timeline