mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-20 09:11:40 +01:00
Merge pull request from GHSA-ffmh-x56j-9rc3
(cherry picked from commit a3908cc082465000a3afa4bed47418b6e02c14ed)
This commit is contained in:
@@ -123,9 +123,9 @@ QUnit.test( "url2 (tld optional)", function( assert ) {
|
||||
assert.ok( method( "http://www.føtex.dk/" ), "Valid url, danish unicode characters" );
|
||||
assert.ok( method( "http://bösendorfer.de/" ), "Valid url, german unicode characters" );
|
||||
assert.ok( method( "http://142.42.1.1" ), "Valid IP Address" );
|
||||
assert.ok( method( "http://bassistance" ), "Valid URL (optional TLD)" );
|
||||
assert.ok( method( "http://bassistance." ), "Valid URL (optional TLD)" );
|
||||
assert.ok( !method( "http://192.168.8." ), "Invalid IP Address" );
|
||||
assert.ok( method( "http://bassistance" ), "Invalid url" );
|
||||
assert.ok( method( "http://bassistance." ), "Invalid url" );
|
||||
assert.ok( !method( "http://bassistance,de" ), "Invalid url" );
|
||||
assert.ok( !method( "http://bassistance;de" ), "Invalid url" );
|
||||
assert.ok( !method( "http://.bassistancede" ), "Invalid url" );
|
||||
|
||||
Reference in New Issue
Block a user