Open tomchiverton opened 3 months ago
Turns out that wasn't it, the column needed to be
ALTER TABLE ompd.track MODIFY COLUMN relative_file text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' NOT NULL;
I'm not sure what the default from the installer script is.
The file name is
Kaleen - We Will Rave (LIVE) | Austria 🇦🇹 Second Semi-Final | Eurovision 2024 [KqSuRaN9zFk].mp3
The database column is
text
which should support this if I read the MariaDB docs right.Code appears to use non-paramatised string bashing.
Would you be open to a MR that changed this query as per https://www.php.net/manual/en/mysqli.quickstart.prepared-statements.php ?