diff --git a/CHANGELOG b/CHANGELOG index abf29add2..7f008feed 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,7 @@ CHANGELOG Roundcube Webmail - Fix bug where cache keys could exceed length limit specified in db schema (#7004) - Fix invalid Signature button state after escaping Mailvelope mode (#7015) - Fix so 401 error is returned only on failed logon requests (#7010) +- Fix db_prefix handling in queries with `TRUNCATE TABLE ` and `UNIQUE ` (#7013) RELEASE 1.4.0 ------------- diff --git a/program/lib/Roundcube/rcube_db.php b/program/lib/Roundcube/rcube_db.php index 01ead6b67..c1ad7e105 100644 --- a/program/lib/Roundcube/rcube_db.php +++ b/program/lib/Roundcube/rcube_db.php @@ -1369,8 +1369,8 @@ class rcube_db } $sql = preg_replace_callback( - '/((TABLE|TRUNCATE|(?