LMS-Community / slimserver

Server for Squeezebox and compatible players. This server is also called Lyrion Music Server.
https://lyrion.org
Other
1.1k stars 279 forks source link

utf8 decode for cache key #1090

Closed darrell-k closed 1 month ago

darrell-k commented 1 month ago

md5_hex is failing when there are un-decoded utf8 characters in the input. This has arisen in the _getTagDataForTracks query because grouping may be part of the query. (Example: grouping="Kanka/Klepác")

I wonder if we should apply this to all md5_hex usages in Queries.pm where $p is part of the input string, just to be safe?