Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve decoding of SSID name #8

Merged
merged 3 commits into from
Sep 13, 2022
Merged

Improve decoding of SSID name #8

merged 3 commits into from
Sep 13, 2022

Conversation

awilliams
Copy link
Owner

As reported in #7, the SSID decoding failed in a number of situations where the SSID name used non-ascii or other control sequences. This change improves the decoding to match the encoding as done by
hostap: https://w1.fi/cgit/hostap/tree/src/utils/common.c?id=b20991da6936a1baae9f2239ee127610a6f5335d#n477

As reported in #7, the SSID decoding failed in a number of situations
where the SSID name used non-ascii or other control sequences.
This change improves the decoding to match the encoding as done by
hostap: https://w1.fi/cgit/hostap/tree/src/utils/common.c?id=b20991da6936a1baae9f2239ee127610a6f5335d#n477
awilliams added a commit that referenced this pull request Sep 12, 2022
@awilliams awilliams merged commit 03d0840 into main Sep 13, 2022
@awilliams awilliams deleted the ssid-encoding branch September 13, 2022 01:51
awilliams added a commit to awilliams/packages that referenced this pull request Sep 14, 2022
This version better decodes SSID names which contain emoji, control
characters, and other non-ascii characters.

awilliams/wifi-presence#8

Signed-off-by: Adam Williams <pwnfactory@gmail.com>
awilliams added a commit to awilliams/packages that referenced this pull request Sep 14, 2022
This version better decodes SSID names which contain emoji, control
characters, and other non-ascii characters.

awilliams/wifi-presence#8

Signed-off-by: Adam Williams <pwnfactory@gmail.com>
neheb pushed a commit to openwrt/packages that referenced this pull request Sep 22, 2022
This version better decodes SSID names which contain emoji, control
characters, and other non-ascii characters.

awilliams/wifi-presence#8

Signed-off-by: Adam Williams <pwnfactory@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean-Packages that referenced this pull request Nov 10, 2022
This version better decodes SSID names which contain emoji, control
characters, and other non-ascii characters.

awilliams/wifi-presence#8

Signed-off-by: Adam Williams <pwnfactory@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean-Packages that referenced this pull request Nov 10, 2022
This version better decodes SSID names which contain emoji, control
characters, and other non-ascii characters.

awilliams/wifi-presence#8

Signed-off-by: Adam Williams <pwnfactory@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean-Packages that referenced this pull request Nov 10, 2022
This version better decodes SSID names which contain emoji, control
characters, and other non-ascii characters.

awilliams/wifi-presence#8

Signed-off-by: Adam Williams <pwnfactory@gmail.com>
stokito pushed a commit to stokito/packages that referenced this pull request Dec 6, 2022
This version better decodes SSID names which contain emoji, control
characters, and other non-ascii characters.

awilliams/wifi-presence#8

Signed-off-by: Adam Williams <pwnfactory@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant