Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14843324
D8327.id19826.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
787 B
Referenced Files
None
Subscribers
None
D8327.id19826.diff
View Options
Index: src/applications/conduit/method/ConduitAPI_conduit_connect_Method.php
===================================================================
--- src/applications/conduit/method/ConduitAPI_conduit_connect_Method.php
+++ 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
Mon, Feb 3, 5:40 AM (13 h, 33 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7086333
Default Alt Text
D8327.id19826.diff (787 B)
Attached To
Mode
D8327: Truncate Conduit 'clientDescription' so we don't overflow the column
Attached
Detach File
Event Timeline
Log In to Comment