From 60c8dd2e235d765cc25bf2adaf688b83b2de7723 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 31 Jan 2020 16:13:28 +0100 Subject: [PATCH] Fix regression where using an absolute path to SQLite database file on Windows didn't work (#7196) --- CHANGELOG | 1 + program/lib/Roundcube/rcube_db.php | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 9509ba2ac..3eeb60180 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -32,6 +32,7 @@ CHANGELOG Roundcube Webmail - Fix bug where message parts with no Content-Disposition header and no name were not listed on attachments list (#7117) - Fix display issues with mail subject that contains line-breaks (#7191) - Fix invalid Content-Transfer-Encoding on multipart messages - Mail_Mime fix (#7170) +- Fix regression where using an absolute path to SQLite database file on Windows didn't work (#7196) RELEASE 1.4.2 ------------- diff --git a/program/lib/Roundcube/rcube_db.php b/program/lib/Roundcube/rcube_db.php index ad8ea85a4..eb68c4c46 100644 --- a/program/lib/Roundcube/rcube_db.php +++ b/program/lib/Roundcube/rcube_db.php @@ -1325,6 +1325,7 @@ class rcube_db if (!empty($parsed['phptype']) && !empty($parsed['database']) && stripos($parsed['phptype'], 'sqlite') === 0 && $parsed['database'][0] != '/' + && strpos($parsed['database'], ':') === false ) { $parsed['database'] = INSTALL_PATH . $parsed['database']; }