Create your change-specific sanitization in /admin/extra_datafiles/something_sanitizer.php.
The name doesn't matter as long as it's unique and reminds you of what's being sanitized. The file's contents should be similar to:
Code:
<?php
// -----
// Admin-level sanitizations for my specific changes
//
$my_sanitizer = AdminRequestSanitizer::getInstance();
$my_group_sanitize = [
'field_name_1',
'field_name_2',
];
$my_sanitizer->addSimpleSanitization('PRODUCT_DESC_REGEX', $my_group_sanitize);
The field_names are the names of the posted variables that you've added.
Bookmarks