This commit is contained in:
parent
483d8a14d2
commit
f043f2e93b
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ export async function checkSparksPresence() {
|
|||
}
|
||||
|
||||
export function validateChatGPTWebCustomData(data) {
|
||||
return /^\/g\/[a-zA-Z0-9-]+$/.test(data) || data == '';
|
||||
return /^\/g\/[a-zA-Z0-9/-]+$/.test(data) || data == '';
|
||||
}
|
||||
|
||||
export function sanitizeChatGPTModelData(input) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue