{"action":"created","issue":{"url":"https://api.github.com/repos/proengsoft/laravel-jsvalidation/issues/98","labels_url":"https://api.github.com/repos/proengsoft/laravel-jsvalidation/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/proengsoft/laravel-jsvalidation/issues/98/comments","events_url":"https://api.github.com/repos/proengsoft/laravel-jsvalidation/issues/98/events","html_url":"https://github.com/proengsoft/laravel-jsvalidation/issues/98","id":117479128,"number":98,"title":"Critical error with numeric min & max values","user":{"login":"a-komarev","id":1849174,"avatar_url":"https://avatars.githubusercontent.com/u/1849174?v=3","gravatar_id":"","url":"https://api.github.com/users/a-komarev","html_url":"https://github.com/a-komarev","followers_url":"https://api.github.com/users/a-komarev/followers","following_url":"https://api.github.com/users/a-komarev/following{/other_user}","gists_url":"https://api.github.com/users/a-komarev/gists{/gist_id}","starred_url":"https://api.github.com/users/a-komarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-komarev/subscriptions","organizations_url":"https://api.github.com/users/a-komarev/orgs","repos_url":"https://api.github.com/users/a-komarev/repos","events_url":"https://api.github.com/users/a-komarev/events{/privacy}","received_events_url":"https://api.github.com/users/a-komarev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-17T23:55:47Z","updated_at":"2015-11-20T17:36:32Z","closed_at":null,"body":"If you are checking numeric values javascript is checking it for a length, not the min & max values.\r\n\r\nFor example:\r\n```php\r\n'age_min' => ['numeric', 'min:6', 'max:50'],\r\n```\r\n\r\nWill return error if you are bypassing `age_min = 30`, but will return ok if you will write `123456`."},"comment":{"url":"https://api.github.com/repos/proengsoft/laravel-jsvalidation/issues/comments/158468522","html_url":"https://github.com/proengsoft/laravel-jsvalidation/issues/98#issuecomment-158468522","issue_url":"https://api.github.com/repos/proengsoft/laravel-jsvalidation/issues/98","id":158468522,"user":{"login":"a-komarev","id":1849174,"avatar_url":"https://avatars.githubusercontent.com/u/1849174?v=3","gravatar_id":"","url":"https://api.github.com/users/a-komarev","html_url":"https://github.com/a-komarev","followers_url":"https://api.github.com/users/a-komarev/followers","following_url":"https://api.github.com/users/a-komarev/following{/other_user}","gists_url":"https://api.github.com/users/a-komarev/gists{/gist_id}","starred_url":"https://api.github.com/users/a-komarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-komarev/subscriptions","organizations_url":"https://api.github.com/users/a-komarev/orgs","repos_url":"https://api.github.com/users/a-komarev/repos","events_url":"https://api.github.com/users/a-komarev/events{/privacy}","received_events_url":"https://api.github.com/users/a-komarev/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T17:36:31Z","updated_at":"2015-11-20T17:36:31Z","body":"You've asked a good question. I'm performing validations using FormRequests only."}}