Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13812953
D8327.id19802.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
802 B
Referenced Files
None
Subscribers
None
D8327.id19802.diff
View Options
diff --git a/src/applications/conduit/method/ConduitAPI_conduit_connect_Method.php b/src/applications/conduit/method/ConduitAPI_conduit_connect_Method.php
--- a/src/applications/conduit/method/ConduitAPI_conduit_connect_Method.php
+++ b/src/applications/conduit/method/ConduitAPI_conduit_connect_Method.php
@@ -61,6 +61,9 @@
$client = $request->getValue('client');
$client_version = (int)$request->getValue('clientVersion');
$client_description = (string)$request->getValue('clientDescription');
+ // TODO: This should be character-oriented, not display-oriented.
+ // See T3307.
+ $client_description = phutil_utf8_shorten($client_description, 255);
$username = (string)$request->getValue('user');
// Log the connection, regardless of the outcome of checks below.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 19, 7:14 PM (4 h, 47 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6621540
Default Alt Text
D8327.id19802.diff (802 B)
Attached To
Mode
D8327: Truncate Conduit 'clientDescription' so we don't overflow the column
Attached
Detach File
Event Timeline
Log In to Comment