From 06b3f19ddfa6306788675527baf63fb252f618a4 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 10 Jun 2020 09:32:49 -0400 Subject: [PATCH] fix regexp that is not compatible with mysql 8 (#92) --- Bugzilla/Install/DB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index ab71a5334f..01b30b3bfa 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -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) { -- 2.47.3