arduino / WiFi101-FirmwareUpdater-Plugin

WiFi101 Firmware Updater Tool for Arduino IDE
13 stars 23 forks source link

Replace JS espace(...) call with encodeURIComponent(...) #36

Closed sandeepmistry closed 5 years ago

sandeepmistry commented 5 years ago

Resolves: https://github.com/arduino-libraries/WiFi101/issues/267

escape(...) was used in the custom provisioning HTML page, this change uses encodeURIComponent(...) instead. See: https://alanristic.wordpress.com/2013/02/16/javascript-escape-vs-encodeuri-vs-encodeuricomponent/

cc/ @tigoe

Rocketct commented 5 years ago

Tested, with an AP with the password Arduinocc_+1 and the results was the following:

tigoe commented 5 years ago

I tested at home with the password that failed me last time, and it's working great, thank you.