Skip to content

Commit 1e014b8

Browse files
committed
Fixed issue victorjonsson#72
1 parent 4e38a72 commit 1e014b8

File tree

9 files changed

+11
-10
lines changed

9 files changed

+11
-10
lines changed

form-validator/date.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @website http://formvalidator.net/#location-validators
1212
* @license Dual licensed under the MIT or GPL Version 2 licenses
13-
* @version 2.1.29
13+
* @version 2.1.30
1414
*/
1515
(function($) {
1616

form-validator/file.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @website http://formvalidator.net/
1212
* @license Dual licensed under the MIT or GPL Version 2 licenses
13-
* @version 2.1.29
13+
* @version 2.1.30
1414
*/
1515
(function($, window) {
1616

form-validator/jquery.form-validator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* @website http://formvalidator.net/
77
* @license Dual licensed under the MIT or GPL Version 2 licenses
8-
* @version 2.1.29
8+
* @version 2.1.30
99
*/
1010
(function($) {
1111

@@ -1211,7 +1211,7 @@
12111211
name : 'email',
12121212
validatorFunction : function(email) {
12131213

1214-
var emailParts = email.split('@');
1214+
var emailParts = email.toLowerCase().split('@');
12151215
if( emailParts.length == 2 ) {
12161216
return $.formUtils.validators.validate_domain.validatorFunction(emailParts[1]) &&
12171217
!(/[^a-zA-Z0-9_\+\.\-]/.test(emailParts[0]));

form-validator/jquery.form-validator.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

form-validator/location.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @website http://formvalidator.net/#location-validators
1212
* @license Dual licensed under the MIT or GPL Version 2 licenses
13-
* @version 2.1.29
13+
* @version 2.1.30
1414
*/
1515
(function($) {
1616

form-validator/qunit.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
{val: 'sas+as@sdssds.se', isValid : true},
8888
{val: '', isValid : false},
8989
{val: 'asdsd@sdsds.se', isValid : true},
90+
{val: 'valid-domain@website.COM', isValid : true},
9091
{val: 'asdsdsd@sdsd.co.uk', isValid : true},
9192
{val: 'sasas@sdsd.xxx', isValid : true},
9293
{val: 'sasas@sdsd.xxz', isValid : false},

form-validator/security.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @website http://formvalidator.net/#security-validators
1414
* @license Dual licensed under the MIT or GPL Version 2 licenses
15-
* @version 2.1.29
15+
* @version 2.1.30
1616
*/
1717
(function($) {
1818

form-validator/sweden.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
* @website http://formvalidator.net/#swedish-validators
1515
* @license Dual licensed under the MIT or GPL Version 2 licenses
16-
* @version 2.1.29
16+
* @version 2.1.30
1717
*/
1818
(function($, window) {
1919

form-validator/uk.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @website http://formvalidator.net/#uk-validators
1111
* @license Dual licensed under the MIT or GPL Version 2 licenses
12-
* @version 2.1.29
12+
* @version 2.1.30
1313
*/
1414
$.formUtils.addValidator({
1515
name : 'ukvatnumber',

0 commit comments

Comments
 (0)