Fix incomplete MPD cover transfers, add cover revalidation, and allow retrying missing MPD genres
This commit is contained in:
@@ -1223,7 +1223,10 @@ pub fn enrich_by_mbid(
|
||||
// Reject MBIDs that contain path-traversal sequences or directory
|
||||
// separators — a valid UUID contains only hex digits and hyphens.
|
||||
if mbid.contains("..") || mbid.contains('/') || mbid.contains('\\') {
|
||||
eprintln!("[error] Invalid MBID '{}': must not contain path components.", mbid);
|
||||
eprintln!(
|
||||
"[error] Invalid MBID '{}': must not contain path components.",
|
||||
mbid
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user