add ? and * (#2319)
This commit is contained in:
parent
e2c7fa35a3
commit
330086e87c
|
@ -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