Skip to content

Commit

Permalink
more links
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 27, 2016
1 parent cee9134 commit 2936ea6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

6.43 2016-01-26
6.43 2016-01-27
- Improved a few examples to avoid timing attacks.

6.42 2016-01-24
Expand Down
10 changes: 7 additions & 3 deletions lib/Mojolicious/Validator/Validation.pm
Expand Up @@ -162,7 +162,8 @@ and implements the following new ones.
$validation = $validation->check('size', 2, 7);
Perform validation check on all values of the current L</"topic">, no more
checks will be performed on them after the first one failed.
checks will be performed on them after the first one failed. All checks from
L<Mojolicious::Validator/"CHECKS"> are supported.
=head2 csrf_protect
Expand Down Expand Up @@ -226,7 +227,8 @@ the current L</"topic">.
$validation = $validation->optional('foo');
$validation = $validation->optional('foo', 'filter1', 'filter2');
Change validation L</"topic"> and apply filters.
Change validation L</"topic"> and apply filters. All filters from
L<Mojolicious::Validator/"FILTERS"> are supported.
# Trim value and check size
$validation->optional('user', 'trim')->size(1, 15);
Expand All @@ -253,7 +255,9 @@ Return an array reference with all names for values that passed validation.
$validation = $validation->required('foo', 'filter1', 'filter2');
Change validation L</"topic">, apply filters, and make sure a value is present
and not an empty string.
and not an empty string. All filters from L<Mojolicious::Validator/"FILTERS">
are supported.All filters from L<Mojolicious::Validator/"FILTERS">
are supported.
# Trim value and check size
$validation->required('user', 'trim')->size(1, 15);
Expand Down

0 comments on commit 2936ea6

Please sign in to comment.