Hi there, after refreshing my Pi3 emonBase to emonSD-24Jul20 and emoncms then updating to 10.6.9 via ethernet, I want to switch back to Wi-Fi. However, when I select my SSID and enter the password, I am getting an error referring to a neighbours SSID which appears in the list of 4 SSID’s, even though I am not trying to use it:
This looks like one for @TrystanLea - if nothing else, I’d be worried that it points to a weakness that’s inviting a buffer overflow/cross-site scripting attack.
If you can get into the Pi via SSH, or you can take the SD card out and edit the file elsewhere, then this might help:
(where you’re adding to the wpa_supplicant.conf file).
I don’t know much about SSID syntax so I did some searches and it appears [1] that an SSID can contain an arbitrary value up to 32 octets long. It can also choose to restrict itself to a UTF-8 encoded value also limited to 32 octets. But a single quote would be legal in either case, so it sounds like the issue might be a bug in the software that reports the error?
If the software is jquery-1.11.3 then it seems that is rather old, so a first step might be updating to a [near] current version?
It does seem to me that a developer will be needed to fix the problem.
I can see what’s causing this, we fixed one issue with special characters but obviously not this one. Looking at this now and testing here it looks like I’m going to need to change the implementation of the WiFi interface quite a bit to get it to work… will update further soon.