Page MenuHomePhabricator

mysql_password_lenght.patch

Authored By
bzimport
Nov 21 2014, 9:26 PM
Size
452 B
Referenced Files
None
Subscribers
None

mysql_password_lenght.patch

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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2868
Default Alt Text
mysql_password_lenght.patch (452 B)

Event Timeline