This commit is contained in:
figureConan 2026-04-21 12:02:55 +08:00 committed by GitHub
commit 67f4147aab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,7 @@ export function ApiAuthDialog({
height: 4,
},
inputFilter: (text) =>
text.replace(/[^a-zA-Z0-9_-]/g, '').replace(/[\r\n]/g, ''),
text.replace(/[^A-Za-z0-9\-._~]/g, '').replace(/[\r\n]/g, ''),
singleLine: true,
});