chrismelba / lightclockwifiv2

Code to run a neopixel strip into a pretty clock
61 stars 26 forks source link

Onboarding doesn't properly URL-escape SSID #7

Open phardy opened 8 years ago

phardy commented 8 years ago

I attempted to attach my lightclock to my wireless network with an SSID of "Router? I hardly knew 'er! 2.4" screen shot 2016-04-07 at 8 06 40 pm

Hitting the submit button directed me to a URL that contained an SSID that was truncated at the single quote: screen shot 2016-04-07 at 8 06 52 pm

I was still able to enter a password and timezone details, but upon reset the lightclock couldn't join a wireless network and continued to broadcast its own access point details.

I was able to get my clock online by URL-encoding the SSID using a separate tool, and then replacing the Password URL parameters with the full encoded SSID. So it looks like there's just some issues in the form encoding.

chrismelba commented 8 years ago

I've added a bunch of extra character parsing. Have you tried lately?