diff --git a/src/CoreBundle/Migrations/Schema/V200/Version20241003120000.php b/src/CoreBundle/Migrations/Schema/V200/Version20241003120000.php index 6666b53a2e..8872379de2 100644 --- a/src/CoreBundle/Migrations/Schema/V200/Version20241003120000.php +++ b/src/CoreBundle/Migrations/Schema/V200/Version20241003120000.php @@ -131,7 +131,7 @@ final class Version20241003120000 extends AbstractMigrationChamilo $attribute = $matches[1]; // Capture whether it's a `href` or `src` $folderId = (int)$matches[2]; // Capture the first digit of the userId (folderId) $userId = (int)$matches[3]; // Capture the full userId - $filename = $matches[4]; // Capture the filename + $filename = urldecode($matches[4]); // Decode the filename error_log("Processing file: $filename for userId: $userId (Folder ID: $folderId)");