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
Is is possible to set a docker environmental variable to disable PHP warnings and errors? It's now very easy to trigger a PHP error from the login screen and for security reasons I want to at least avoid this.
For example by a PHP array injection
/?server[]=mysql&username[]=root
I suggest to disable by default and explicitly allow to override this behaviour.
<b>Warning</b>: urlencode() expects parameter 1 to be string, array given in <b>/var/www/html/adminer.php</b> on line <b>1413</b>
<b>Warning</b>: urlencode() expects parameter 1 to be string, array given in <b>/var/www/html/adminer.php</b> on line <b>1413</b>
<b>Warning</b>: session_start(): Cannot start session when headers already sent in <b>/var/www/html/adminer.php</b> on line <b>73</b>
<b>Warning</b>: Illegal offset type in <b>/var/www/html/adminer.php</b> on line <b>73</b>
<b>Warning</b>: Illegal offset type in <b>/var/www/html/adminer.php</b> on line <b>73</b>
<b>Warning</b>: preg_match() expects parameter 2 to be string, unknown given in <b>/var/www/html/adminer.php</b> on line <b>1483</b>
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:1413) in <b>/var/www/html/adminer.php</b> on line <b>1482</b>
<b>Warning</b>: Illegal offset type in <b>/var/www/html/adminer.php</b> on line <b>73</b>
<b>Warning</b>: Illegal offset type in <b>/var/www/html/adminer.php</b> on line <b>52</b>
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:1413) in <b>/var/www/html/adminer.php</b> on line <b>71</b>
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:1413) in <b>/var/www/html/adminer.php</b> on line <b>71</b>
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:1413) in <b>/var/www/html/adminer.php</b> on line <b>1447</b>
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:1413) in <b>/var/www/html/adminer.php</b> on line <b>1447</b>
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:1413) in <b>/var/www/html/adminer.php</b> on line <b>1447</b>
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:1413) in <b>/var/www/html/adminer.php</b> on line <b>1447</b>
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:1413) in <b>/var/www/html/adminer.php</b> on line <b>1447</b>
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:1413) in <b>/var/www/html/adminer.php</b> on line <b>1447</b>
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:1413) in <b>/var/www/html/adminer.php</b> on line <b>1448</b>
<b>Warning</b>: Illegal offset type in <b>/var/www/html/adminer.php</b> on line <b>73</b>
<b>Warning</b>: htmlspecialchars() expects parameter 1 to be string, array given in <b>/var/www/html/adminer.php</b> on line <b>32</b>
<b>Warning</b>: htmlspecialchars() expects parameter 1 to be string, array given in <b>/var/www/html/adminer.php</b> on line <b>32</b>
The text was updated successfully, but these errors were encountered:
Is is possible to set a docker environmental variable to disable PHP warnings and errors? It's now very easy to trigger a PHP error from the login screen and for security reasons I want to at least avoid this.
For example by a PHP array injection
/?server[]=mysql&username[]=root
I suggest to disable by default and explicitly allow to override this behaviour.
The text was updated successfully, but these errors were encountered: