In einer meiner FHEMWEB Instanzen ist CORS aktiviert. Augenscheinlich definiert nicht jeder Client, der darauf zugreift, die entsprechenden Header, weswegen es zu reichlich Warnungen im Log kommt:
2015.07.23 18:36:15.708 1: PERL WARNING: Use of uninitialized value $origin[0] in concatenation (.) or string at /opt/fhem/FHEM/01_FHEMWEB.pm line 347.
2015.07.23 18:36:15.969 1: PERL WARNING: Use of uninitialized value $origin[0] in concatenation (.) or string at /opt/fhem/FHEM/01_FHEMWEB.pm line 347.
2015.07.23 18:36:16.277 1: PERL WARNING: Use of uninitialized value $origin[0] in concatenation (.) or string at /opt/fhem/FHEM/01_FHEMWEB.pm line 347.
2015.07.23 18:36:16.586 1: PERL WARNING: Use of uninitialized value $origin[0] in concatenation (.) or string at /opt/fhem/FHEM/01_FHEMWEB.pm line 347.
2015.07.23 18:36:16.893 1: PERL WARNING: Use of uninitialized value $origin[0] in concatenation (.) or string at /opt/fhem/FHEM/01_FHEMWEB.pm line 347.
2015.07.23 18:36:17.334 1: PERL WARNING: Use of uninitialized value $origin[0] in concatenation (.) or string at /opt/fhem/FHEM/01_FHEMWEB.pm line 347.
Der beigefügte Patch behebt das, Nebenwirkungen konnte ich nicht feststellen. Der Patch basiert auf "01_FHEMWEB.pm 8965 2015-07-14 13:56:38Z"
Grüße,
Andy.
Patch akzeptiert, sobald sourceforge funktioniert, wird es eingecheckt.