Refactored sanitize functionality: Form save, form update and client are now...
Refactored sanitize functionality: Form save, form update and client are now handled with the same regexp. Form save and update use the same code to sanatize. SANITIZE names are now equal in FormEditor and in Store. New class SANITIZE_ALL_MIN_MAX_DATE. OnArray.php: moved inputCheckPatternArray() to Sanatize. Sanatize.php: complete rewrote of sanitize(). Everything is regexp based now. FillStore.php: validateValue() removed, use of Sanitize::sanitize instead. Store.php: adjusted change of Sanitize:sanitize signature. AbstractBuildForm.php: defined class global variable $inputCheckPattern and initialize them during construct(). Variables, submitted by POST, are now correctly sanatized according their FormElement definition. getInputCheckPattern() adjusted to new/changed SANITIZE definitions. Constants.php: added SANTIZE_ALLOW_: MIN_MAX, MIN_MAX_DATE, EMAIL, PATTERN, SANITIZE_EXCEPTION, SANITIZE_EMPTY_STRING Save.php: use of Sanitize::sanitize instead of validateValue() formEditor.sql: order of FormElement.checkType changed to 'most used first'.
Showing with 319 additions and 247 deletions