luc-github / ESP3D-WEBUI

A Web UI for ESP8266 or ESP32 based boards connected to 3D printers / CNC
GNU General Public License v3.0
752 stars 305 forks source link

[BUG] Cannot connect to SSIDs with spaces #114

Closed royfocker19 closed 4 years ago

royfocker19 commented 4 years ago

Using latest firmware and webui versions, I cannot connect to my WiFi “the cat house” I can select the said from the list, but once saved and rebooted, it only shows “the” and ESP AP is still available. I’m running it on an esp32cam from diy more.

luc-github commented 4 years ago

what version of fw?
which version of web-ui ?

royfocker19 commented 4 years ago

FW: 3.0.0.a52 Interface: 3.0.0.61

luc-github commented 4 years ago

Ok I reproduced issue - looks like the info is well sent from webUI but FW do not save it properly I will look at it note: [ESP100]the cat house works properly, so the issue is may be in [ESP401]

luc-github commented 4 years ago

Ok the bug is definitly due to new version of const char * Commands::get_param (const char * cmd_params, const char * label) it manage space differently and I forget it in web-ui orz...

I need to add a space formating before sending the command

command:
P=1 T=S V=the cat house
parameter extracted:
the

command:
P=1 T=S V=the\ cat\ house parameter extracted:
the cat house

luc-github commented 4 years ago

fixed in https://github.com/luc-github/ESP3D-WEBUI/commit/c8c1830e405eaa4fbb2a032ba1f39631645a0b95 v3.0.0.62

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.