updated regular expression

This commit is contained in:
Miodec 2021-01-06 22:02:12 +00:00
parent 95f7968e51
commit 79afe812f5

View file

@ -1043,7 +1043,7 @@ exports.testCompleted = functions.https.onRequest(async (request, response) => {
errCount += verifyValue(val[valkey]);
});
} else {
if (!/^[0-9a-zA-Z._-]+$/.test(val)) errCount++;
if (!/^[0-9a-zA-Z._\-\+]+$/.test(val)) errCount++;
}
return errCount;
}