fix web review validation and clipboard tests

This commit is contained in:
2026-07-19 20:50:42 +08:00
parent ec59dee6b9
commit 884148b88f
5 changed files with 69 additions and 3 deletions

View File

@@ -76,6 +76,12 @@ describe('ServerLogin', () => {
['http://', 'Enter a valid HTTP or HTTPS server address.'],
['ftp://example.com', 'Enter a valid HTTP or HTTPS server address.'],
['http:////example.com', 'Enter a valid HTTP or HTTPS server address.'],
['http//example.com', 'Enter a valid HTTP or HTTPS server address.'],
['https//example.com', 'Enter a valid HTTP or HTTPS server address.'],
['http:/example.com', 'Enter a valid HTTP or HTTPS server address.'],
['https:/example.com', 'Enter a valid HTTP or HTTPS server address.'],
['http://example.com\\path', 'Enter a valid HTTP or HTTPS server address.'],
['example.com\\path', 'Enter a valid HTTP or HTTPS server address.'],
['http://example..com', 'Enter a valid HTTP or HTTPS server address.'],
['http://-bad.com', 'Enter a valid HTTP or HTTPS server address.'],
['http://bad-.com', 'Enter a valid HTTP or HTTPS server address.'],