Expected Behavior
When setting the Proxy-Type in an import source of type "REST API" to "HTTP proxy" only the necessary fields "Proxy Address*", "Proxy Username" and "Proxy Password" should be visible.
Current Behavior
After choosing "HTTP proxy" the following message appears (in addition to the proxy-fields):
Deprecated
: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/usr/share/icingaweb2/modules/director/library/Director/Import/ImportSourceRestApi.php
on line
276
Steps to Reproduce (for bugs)
Go to
"Automation" -> Import source -> +Add -> Add a new source name, choose Source Type "REST API" -> choose "HTTP proxy"
Your Environment
- Director version (System - About): 1.11.1
- Icinga Web 2 version and modules (System - About): 2.12.1
- Icinga 2 version (
icinga2 --version): 2.14.2
- Operating System and version: SLES 15 SP5
- Webserver, PHP versions: Apache, 8.1.28