diff --git a/modules/item/back/methods/item-image-queue/downloadImages.js b/modules/item/back/methods/item-image-queue/downloadImages.js index 713761df5..16ad33ce3 100644 --- a/modules/item/back/methods/item-image-queue/downloadImages.js +++ b/modules/item/back/methods/item-image-queue/downloadImages.js @@ -47,7 +47,7 @@ module.exports = Self => { if (!image) return; const srcFile = image.url; - const fileName = srcFile.replace(/\.|\/|:/g, ''); + const fileName = srcFile.replace(/\.|\/|:|\?|\\/g, ''); const file = `${fileName}.png`; const filePath = path.join(tempPath, file);