Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3299
mysql_password_lenght.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:26 PM
2014-11-21 21:26:29 (UTC+0)
Size
452 B
Referenced Files
None
Subscribers
None
mysql_password_lenght.patch
View Options
Index: config/index.php
===================================================================
--- config/index.php (revision 19737)
+++ config/index.php (working copy)
@@ -529,6 +529,9 @@
if( $conf->DBuser == "" ) {
$errs["DBuser"] = "Must not be blank";
}
+if( ($conf->DBtype == 'mysql') && (strlen($conf->DBuser) > 16) ) {
+ $errs["DBuser"] = "Username too long";
+}
if( $conf->DBpassword == "" ) {
$errs["DBpassword"] = "Must not be blank";
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2868
Default Alt Text
mysql_password_lenght.patch (452 B)
Attached To
Mode
T9285: Need to check MySQL username length during installation
Attached
Detach File
Event Timeline
Log In to Comment