PrivateBin/lib/Model
El RIDO 65a626f940 inputs sanitation & remove some obsolete version checks
using filter_vars instead of filter_input, because our unit tests depend on manipulating global arrays, which are not used by filter_input - we would have to mock the function in the unit testing, it therefore is cleaner to use the same code paths in testing as in production

some inputs in I18n and TrafficLimiter remain unfiltered, since we already validate them by other means (IP lib and/or preg_match)

our minimum PHP version is 7.3, so we can drop the two < 5.6 fallback checks
2024-03-23 11:27:25 +01:00
..
AbstractModel.php inputs sanitation & remove some obsolete version checks 2024-03-23 11:27:25 +01:00
Comment.php incrementing version 2024-02-11 15:31:11 +01:00
Paste.php incrementing version 2024-02-11 15:31:11 +01:00