mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-13 07:23:39 +08:00
updated regular expression
This commit is contained in:
parent
95f7968e51
commit
79afe812f5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue