khoih-prog / Blynk_WM

Blynk and WiFiManager Library for configuring/auto(re)connecting ESP8266/ESP32 modules to the best or available MultiWiFi APs and MultiBlynk servers at runtime, with or without SSL. Configuration data saved in either SPIFFS or EEPROM.
MIT License
47 stars 8 forks source link

No save the char # at end of the wifi password #3

Closed ianturo closed 4 years ago

ianturo commented 4 years ago

If you wireless password ends with the character # is not saved on the EEPROM I've testing escaping with \ enclosed between "" or '' and nothing worked

khoih-prog commented 4 years ago

Hi, Thanks for using the library. The hash tag (#) is a special symbol , and somehow, the WebServer library this Blynk_WM depends upon, interpretes it as the end of an input. That's why anything behind the # will be ignored.

That's why:

  1. 12345#67890 is interpreted as 12345, and #67890 is ignored
  2. 12345\#67890 is interpreted as 12345\, and #67890 is ignored
  3. 1234567890# is interpreted as 1234567890, and # is ignored as in your case.

I don't know if this is intentional or not, and have no way to change that ESP8266WebServer or ESP32WebServer library unless writing my own library and change those libraries. So, please don't use the # anywhere in the Web input for now. Anyway, I'll have some research, but close the topic now.

ianturo commented 4 years ago

Thank you, Well according to this I will have to change the password of my WiFi

Another thing, I did not see in the manual that is mandatory fill all fields, if only one of SSID's or Server's fields is filled allways says on boot: "bg: No configdat. Stay forever in config portal"

happened to me with ESP8266

khoih-prog commented 4 years ago

Hi, Thanks for reporting. Your contribution is noted in newly added Important Notes Regards,

khoih-prog commented 4 years ago

Hi, This issue has been fixed in v1.0.10. Now you can input special chars such as # and %.

ianturo commented 4 years ago

Great news Thanks

El mié., 8 de abr. de 2020 a la(s) 14:14, Khoi Hoang ( notifications@github.com) escribió:

Hi, This issue has been fixed in v1.0.10. Now you can input special chars such as # and %.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/khoih-prog/Blynk_WM/issues/3#issuecomment-611140631, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANU7SZV37NFIXJKI4SMNNJ3RLTEIHANCNFSM4LVW2STA .

--


Adrián Arturo Arias Cuartas