From 3bec61ec439228af899208c3fe0fd09d14dc63e1 Mon Sep 17 00:00:00 2001 From: Christian Bager Bach Houmann Date: Sun, 23 Jan 2022 11:21:07 +0100 Subject: [PATCH] Fix illegal character replacer --- docs/Examples/Attachments/movies.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Examples/Attachments/movies.js b/docs/Examples/Attachments/movies.js index 8f85bf3..e4027ba 100644 --- a/docs/Examples/Attachments/movies.js +++ b/docs/Examples/Attachments/movies.js @@ -108,7 +108,7 @@ function linkifyList(list) { } function replaceIllegalFileNameCharactersInString(string) { - return string.replace(/[\\,#%&\{\}\/*<>$\'\":@]*/g, ""); + return string.replace(/[\\,#%&\{\}\/*<>?$\'\":@]*/g, ""); } async function apiGet(url, data) {