Page MenuHomePhorge

D25557.1734613790.diff
No OneTemporary

D25557.1734613790.diff

diff --git a/src/utils/PhutilSortVector.php b/src/utils/PhutilSortVector.php
--- a/src/utils/PhutilSortVector.php
+++ b/src/utils/PhutilSortVector.php
@@ -30,7 +30,7 @@
}
public function addString($value) {
- if (strlen($value) && (strpos("\0", $value) !== false)) {
+ if (strlen($value) && (strpos($value, "\0") !== false)) {
throw new Exception(
pht(
'String components of a sort vector must not contain NULL bytes.'));

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 13:09 (20 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015071
Default Alt Text
D25557.1734613790.diff (464 B)

Event Timeline