diff --git a/src/utils/data.js b/src/utils/data.js index fc1440457..6547f2d1b 100644 --- a/src/utils/data.js +++ b/src/utils/data.js @@ -56,7 +56,7 @@ export async function fetchData(path, params = {}, options = {}) { } function createDataPath(path) { - const dataPath = path.replace(/\/$/, ''); + const dataPath = path.replace(/\/$/, "").replace(/[<>:"\/\\|*]/, "_"); return `${normalizePath(['/data', dataPath])}.json`; }