Page 1 of 1

Server Performance Report possible bug

PostPosted: Wed Dec 07, 2016 6:02 am
by Eugene
Hello,

Please see my ViciDial version specification in my signature below.

I've found out that Server Performance Report required authentication. More than that: it did not accept any user credentials and cleared authentication for the whole management interface.
Well, there are two questionable lines (numbers 51 & 52) in http://<server>/vicidial/AST_server_performance.php file which caused the behavior:

Code: Select all
#$PHP_AUTH_USER = preg_replace('/[^0-9a-zA-Z]/', '', $PHP_AUTH_USER);
#$PHP_AUTH_PW = preg_replace('/[^0-9a-zA-Z]/', '', $PHP_AUTH_PW);


Commenting out these lines solved the problem.

Regards,
Gene

Re: Server Performance Report possible bug

PostPosted: Wed Dec 07, 2016 6:44 am
by mflorell
Should be fixed in svn/trunk now. Thanks!