]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
fix regexp that is not compatible with mysql 8 (#92)
authorDylan William Hardison <dylan@hardison.net>
Wed, 10 Jun 2020 13:32:49 +0000 (09:32 -0400)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2020 13:32:49 +0000 (09:32 -0400)
Bugzilla/Install/DB.pm

index ab71a5334fae795d62620aacde373979b3e2fe09..01b30b3bfaf3f276e57964e470abff361ce29ace 100644 (file)
@@ -4115,7 +4115,7 @@ sub _add_password_salt_separator {
   my $profiles
     = $dbh->selectall_arrayref(
         "SELECT userid, cryptpassword FROM profiles WHERE ("
-      . $dbh->sql_regexp("cryptpassword", "'^[^,]+{'")
+      . $dbh->sql_regexp("cryptpassword", "'^[^,]+\\\\{'")
       . ")");
 
   if (@$profiles) {