mirror of https://github.com/FreeTubeApp/FreeTube
add ? and * (#2318)
This commit is contained in:
parent
c2c555573e
commit
c12d64c389
|
@ -326,7 +326,7 @@ const actions = {
|
||||||
if (platform === 'win32') {
|
if (platform === 'win32') {
|
||||||
// https://www.boost.org/doc/libs/1_78_0/libs/filesystem/doc/portability_guide.htm
|
// https://www.boost.org/doc/libs/1_78_0/libs/filesystem/doc/portability_guide.htm
|
||||||
// https://stackoverflow.com/questions/1976007/
|
// https://stackoverflow.com/questions/1976007/
|
||||||
const noForbiddenChars = ['<', '>', ':', '"', '/', '|'].every(char => {
|
const noForbiddenChars = ['<', '>', ':', '"', '/', '|', '?', '*'].every(char => {
|
||||||
return parsedString.indexOf(char) === -1
|
return parsedString.indexOf(char) === -1
|
||||||
})
|
})
|
||||||
if (!noForbiddenChars) {
|
if (!noForbiddenChars) {
|
||||||
|
|
Loading…
Reference in New Issue