You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have enabled 'Log Input Validation Issues'. When i save any of my user's settings (in Console -> Configuration -> Users -> User Settings), this message is logged:
01.Nov.2019 08:30:58 - CMDPHP Input Validation Not Performed for 'id' Backtrace: (/user_admin.php:form_save(), /user_admin.php:get_request_var(), /lib/html_utility.php:html_log_input_error(), /lib/html_validate.php:cacti_debug_backtrace())
Steps to reproduce the behavior:
Enable Log Input Validation Issues
2.Nativate to Console -> Configuration -> Users -> [select any user] -> User Settings
Make any change to user's settings
To be able to make change to user settings without failing input validation
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
I have noticed, on occasion, that my log file has a few "Input Validation Not Performed for 'id' Backtrace: " errors messages. As of this report, I am only able to verify error is triggered when making changes to user settings. I have not yet be able to identify why/when the other errors are triggered.
The text was updated successfully, but these errors were encountered:
Just did a double check, and though although this issue is not there any longer, there were a few cases where there is no pre-validation. This is not a problem due to us using prepared statements, but to keep the log clean, I have corrected them anyway. Commit coming shortly.