Log Input Validation Issues

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Moderators, Developers

Post Reply
Author
Message
xdracco
Posts: 38
Joined: Fri Aug 17, 2012 10:19 am
Location: Long Beach, CA

Log Input Validation Issues

#1 Post by xdracco » Fri Nov 01, 2019 10:37 am

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:

Code: Select all

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())
Running Cacti v1.2.7

Should i create a bug report on git?
The answer to life, the universe and everything is int main() { return 42; }


xdracco
Posts: 38
Joined: Fri Aug 17, 2012 10:19 am
Location: Long Beach, CA

Re: Log Input Validation Issues

#3 Post by xdracco » Mon Nov 04, 2019 11:51 am

bug report created: https://github.com/Cacti/cacti/issues/3068

thanks you for your continued hard work developing cacti.
The answer to life, the universe and everything is int main() { return 42; }

netniV
Cacti Guru User
Posts: 3049
Joined: Sun Aug 27, 2017 12:05 am

Re: Log Input Validation Issues

#4 Post by netniV » Mon Nov 04, 2019 4:30 pm

No worries. We'll get that fixed shortly.

In response to your signature, surely that should be

Code: Select all

int main() {
	return 42;
}

xdracco
Posts: 38
Joined: Fri Aug 17, 2012 10:19 am
Location: Long Beach, CA

Re: Log Input Validation Issues

#5 Post by xdracco » Tue Nov 05, 2019 10:11 am

hehe. you're right. it should return a value of 42. doh. amazed it took this long for someone to catch that. =P
The answer to life, the universe and everything is int main() { return 42; }


Post Reply