Commit Graph

14 Commits

Author SHA1 Message Date
be437fcf5f
Add function to get next strpos of any of a specified set of needles 2024-12-25 18:41:28 +01:00
fa2985463f
Use more explicit type hints for improved static code analysis 2024-09-22 16:52:21 +02:00
a57036789e
Fix implicit array creation 2024-07-12 02:56:27 +02:00
cbc66c4140
Improve test coverage for MD_STD_SEC 2024-07-11 15:32:50 +02:00
11faeaa7e7
Improve test coverage 2024-07-11 14:53:05 +02:00
94dfa17290
Fix code smells 2024-06-11 21:57:56 +02:00
d4918dd893
Handle dates outside of strtotime()'s range in date_to_int, int_to_date
Close #9
2024-05-05 00:48:04 +02:00
63ac1b296e
Add functions for transferring dates to ints and vice versa 2024-05-03 17:42:32 +02:00
66e704de47
Extend tests for MD_STD_IN considerably, fix some edge cases 2023-11-08 21:24:23 +01:00
a03f072a69
Add function for validating ZIP codes (somewhat) 2023-11-08 02:18:34 +01:00
2c58e0554b
Improve coverage of MD_STD_IN 2023-11-07 22:50:18 +01:00
c9dce8f782
Annotate the available tests as @small 2023-11-06 23:26:21 +01:00
ae12cfdf0f
Add tests for MD_STD_IN::sanitize_url() and ensure it supports rewriting
unencoded cyrillic inputs

Close #7
2023-11-05 23:29:14 +01:00
52aeedd31e
Set a cap to maximum delay in preventing brute force attacks
This is necessary because PHP-FPM fails if sleep / usleep runs beyond
the maximum execution time of php.ini, leading to whole vhosts falling
over.
2022-08-14 13:08:40 +02:00