Open raomin opened 11 months ago
Note: I took the list of redirection detection from here. I tested with windows, ios and android.
Yeah you are supposed to turn off all data when using captive portals but adding a filter is a good idea problem is keeping up with it there are no standards and they all randomly change
Add custom or callout for captive checking
When I connect to wifimanager from my windows, it generates many requests (eg wpad/wpad.dat, autodiscover, etc.). All these requests end up being served by wifimanager twice: once for redirect and a second time as 404. It's often so consuming for asyncweb that the esp32 ends up crashing and my pc disconnected. It's often better from my mobile where I get less extra requests.
However, I believe we shouldn't redirect these extra requests in the first place. With this change, I see no more crashes nor disconnections.