Commit Graph

15 Commits

Author SHA1 Message Date
c60932088d
Add missing function comment 2020-11-22 15:42:56 +01:00
2f68acdfc1
Make error messages for disallowed values more explicit 2020-10-24 12:46:18 +02:00
087b4a128e Add validation function for ISBN 2020-09-30 00:58:58 +02:00
0bfd6c3765 Add removal of duplicate spaces in input strings in MD_STD_IN 2020-09-09 00:29:13 +02:00
49ab75afe8 Add new function MD_STD_IN::sanitize_float 2020-09-05 00:19:32 +02:00
b16a6762e4 Improve sanitizers for mails, urls 2020-09-04 01:37:49 +02:00
f478728ab9 Improve sanitizing functions for mail and url 2020-09-04 01:19:00 +02:00
55db406401 Add wrappers for sanitizing URLs and mail addresses 2020-09-04 00:46:45 +02:00
6fe367ead7 Add final keyword to both classes 2020-08-29 17:22:16 +02:00
7d4a740f8f Use strict in_array() calls 2020-08-27 17:16:48 +02:00
bac86627e2 Correct check against empty value in MD_STD_IN 2020-08-22 12:13:08 +02:00
566590135b Add function sanitize_id_or_zero for validating and sanitizing input
integers that may hold an ID or a 0

Example use case: Event parts in musdb.
2020-08-21 13:58:24 +02:00
d4b2986809 Fix over-sanitization for texts in MD_STD_IN 2020-08-20 11:08:27 +02:00
0fece80ed0 Add functionality to restrict allowed values taken from get via
MD_STD_IN
2020-08-19 15:32:15 +02:00
17d1b6e88b Add class MD_STD_IN for input parsing and sanitization 2020-08-19 14:55:38 +02:00