Skip to content

Commit f2bf628

Browse files
authored
Merge pull request #59 from EUCPilots/invalid-app
Fix invalid app
2 parents 1fe0d01 + 35a91be commit f2bf628

3 files changed

Lines changed: 195 additions & 205 deletions

File tree

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ function safeJsonParse(raw) {
2626

2727
function validateAppId(appId) {
2828
if (!appId || typeof appId !== 'string') return false
29-
// Allow letters, numbers, dashes and underscores; max length to avoid abuse
30-
return /^[A-Za-z0-9-_]{1,64}$/.test(appId)
29+
// Allow letters, numbers, dashes, underscores, and dots; max length to avoid abuse
30+
return /^[A-Za-z0-9-_.]{1,64}$/.test(appId)
3131
}
3232

3333
function ensureEvergreenBinding() {

0 commit comments

Comments
 (0)