elueckel / Unifi-Toolbox

Modul for Symcon integrating UniFi Network devices
2 stars 2 forks source link

Fix for "Set-Cookie" case insensitive preg_match #14

Closed Brovning closed 2 years ago

Brovning commented 2 years ago

13 UnifiOS 1.11.0 - Trying to access array offset on value of type null

Brovning commented 2 years ago

Habe das "Set-Cookie" case insensitive in alle 3 Module eingepflegt und zudem habe ich das Fehlerhandling für fehlgeschlagene Authentications verbessert, so dass beim nächsten Mal nicht das IPS Log zugemüllt wird, sondern eine Ausgabe im Debug-Log des Unifi Internet-Controller Moduls erscheint.

elueckel commented 2 years ago

super cool ... habe es gemerged und teste mal. Evtl. geht damit dann auch das Modul unter Windows (warum auch immer sich das anders verhält????!)

Brovning commented 2 years ago

@elueckel Ich nutze übrigens IPS auf einem Windows Server und auch der Client ist Windows. Funktioniert bei mir tadellos. :-)