mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #1412] Single quotes in scanned SSIDs do not correctly populate the SSID box when clicked #1209
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1209
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @abryant on GitHub (May 7, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1412
Basic Infos
Hardware
WiFimanager Branch/Release: master
Esp8266/Esp32: ESP32
Hardware: ESP32-WROVER-E
Core Version: 2.4.0
Description
My SSID is something like:
'); DROP TABLE WIFI; --(inspired by https://xkcd.com/327/)This seems to be broken because the
data-ssidattribute isn't templated correctly if the SSID contains a'. Chrome's inspector gives me this as the parsed element:Because the
data-ssidattribute is empty, it falls back to usinginnerText, which has spaces replaced by so it doesn't connect (instead, it fails with WL_NO_SSID_AVAIL).