Seth Kinast
0077f29d71
gluon.validators: update IS_STRONG to behave as it did in web2py < 2.15
...
We used to compare `type(self.upper) == int` but the check was changed
to `isinstance(self.upper, int)`. Because bool is an instance of int but is not
the type int, the meaning of the checks changed to treat False as 0.
This patch specifically differentiates between False and 0.
- False means "no requirements for this character class".
- 0 means "exactly 0 of this character class".
Fixes #2093
2019-02-13 21:14:05 -08:00
..
2019-02-09 10:03:49 -08:00
2019-02-10 22:15:12 -08:00
2019-02-13 21:14:05 -08:00
2016-08-29 23:01:22 +02:00
2019-02-03 21:36:26 -08:00
2019-02-09 00:01:11 -08:00
2019-02-09 00:01:11 -08:00
2019-02-09 00:01:11 -08:00
2016-08-13 15:38:55 +02:00
2019-02-09 00:01:11 -08:00
2017-06-21 13:32:42 -04:00
2017-10-28 19:29:55 +03:00
2017-11-13 21:24:07 -06:00
2017-05-13 08:26:09 +02:00
2019-02-09 00:01:11 -08:00
2018-04-30 14:17:44 -04:00
2018-10-29 13:47:35 +01:00
2019-02-09 00:01:11 -08:00
2019-02-09 00:01:11 -08:00
2017-08-07 00:20:29 +01:00
2017-06-21 15:32:28 -04:00
2019-02-09 00:01:11 -08:00
2019-02-09 00:01:11 -08:00
2019-02-09 00:01:11 -08:00
2015-03-06 22:12:56 -05:00
2019-02-09 00:01:11 -08:00
2016-08-13 15:38:55 +02:00
2017-08-19 10:07:52 +02:00
2019-02-09 00:01:11 -08:00
2019-02-09 00:01:11 -08:00
2019-02-09 00:01:11 -08:00
2017-08-10 06:49:36 +02:00
2019-02-09 00:01:11 -08:00
2019-02-09 00:01:11 -08:00
2016-08-13 15:38:55 +02:00
2019-02-09 00:01:11 -08:00
2016-08-29 23:01:22 +02:00
2019-02-09 00:01:11 -08:00
2016-08-13 15:38:55 +02:00
2018-09-06 14:46:07 +02:00
2019-02-10 21:10:25 -08:00
2019-02-10 20:09:27 -08:00
2018-02-09 20:56:16 +01:00
2018-09-06 14:46:07 +02:00
2019-02-13 21:14:05 -08:00
2019-02-09 00:01:11 -08:00
2018-09-02 10:15:01 -07:00