Skip to content

When administrating users, some input variables are not properly checked #3068

Closed
@battery-hue

Description

@battery-hue

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[46]:form_save(), /user_admin.php[612]:get_request_var(), /lib/html_utility.php[346]:html_log_input_error(), /lib/html_validate.php[44]:cacti_debug_backtrace())

To Reproduce
Steps to reproduce the behavior:

  1. Enable Log Input Validation Issues
    2.Nativate to Console -> Configuration -> Users -> [select any user] -> User Settings
  2. Make any change to user's settings
  3. Check logs

Expected behavior
To be able to make change to user settings without failing input validation

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Safari
  • Version: 13.0.2

Smartphone (please complete the following information):
N/A

Additional context
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions