From 8a4dfd361c8326ebfbe2dd59f4c0cd802c6e4bce Mon Sep 17 00:00:00 2001 From: stringsplit <77242831+nbitzz@users.noreply.github.com> Date: Sun, 1 Oct 2023 17:48:44 -0700 Subject: [PATCH] more accepted characters in ids (doom) --- src/server/lib/files.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/lib/files.ts b/src/server/lib/files.ts index e264495..d0be358 100644 --- a/src/server/lib/files.ts +++ b/src/server/lib/files.ts @@ -7,7 +7,7 @@ import { files } from "./accounts"; import * as Accounts from "./accounts"; -export let id_check_regex = /[A-Za-z0-9_\-\.\!\=\:]+/ +export let id_check_regex = /[A-Za-z0-9_\-\.\!\=\:\&\$\,\+\;\@\~\*\(\)\']+/ export let alphanum = Array.from("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890") // bad solution but whatever