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

Special characters not parsed in WiFi configuration #11

Closed
JosephHewitt opened this issue Jul 19, 2022 · 2 comments
Closed

Special characters not parsed in WiFi configuration #11

JosephHewitt opened this issue Jul 19, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@JosephHewitt
Copy link
Owner

JosephHewitt commented Jul 19, 2022

When configuring a WiFi network to connect to or as a fallback network, special characters can cause issues with the parsing.

Specifically, the HTML form uses GET to transfer the values to the wardriver and the URL encoding isn't handled causing the credentials to be misread.

Switching to POST is probably the best solution which is more suited for the task anyway.

@JosephHewitt JosephHewitt added the bug Something isn't working label Jul 19, 2022
@JosephHewitt JosephHewitt self-assigned this Jul 19, 2022
@K1rdro
Copy link

K1rdro commented Oct 25, 2022

My workaround for this issue was to print the password on the screen when the device boots. I found it added a couple % signs to mine.

JosephHewitt added a commit that referenced this issue Nov 20, 2022
Add GParser library to fix WiFi setup; issue #11
@JosephHewitt
Copy link
Owner Author

Fixed with PR #22

It would still be beneficial to update this code to use POST requests in the future but for now that is not a priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants