victorjonsson / jQuery-Form-Validator

[DISCONTINUED] jQuery plugin that makes it easy to validate user input while keeping your HTML markup clean from javascript code.
972 stars 476 forks source link

Fix issue with hyphens in file validation mime types #650

Closed nholden closed 6 years ago

nholden commented 6 years ago

Addresses #646, which reported that mime types in file validations were being parsed incorrectly when they contained hyphens. This change ensures that we only split the allowed file types string at commas and trailing white space and not at hyphens.

victorjonsson commented 6 years ago

Great!