Sqlite's Connection::createConnectionOptionsFromUrl purposelessly converts relative paths to full

Created on 23 May 2019, over 5 years ago
Updated 23 October 2024, 2 months ago

Problem/Motivation

Sqlite's Connection::createConnectionOptionsFromUrl purposelessly converts relative paths to full, so that a sqlite:/localhost/sites/default/files/.ht.sqlite URL results in a 'database' => '/var/www/html/d8test/sites/default/files/.ht.sqlite' array key in the database connection array.

Proposed resolution

Keep relative paths, relative.

Remaining tasks

Review.

User interface changes

nope

API changes

nope

Data model changes

nope

Release notes snippet

nope

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component

sqlite db driver

Created by

🇮🇹Italy mondrake 🇮🇹

Live updates comments and jobs are added and updated live.
  • Starshot blocker

    A potential blocker for Drupal Starshot. More information: http://www.drupal.org/project/starshot

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024