Closed warpdesign closed 1 month ago
@NL-TCH
good catch @warpdesign, thanks for the PR!
@billz good to merge from my side
we might need to update other variables as well, now the "=" sign is nowhere allowed (for example in SSID-names and Interfaces))
Current method would crop any passphrase containing an
=
sign.For eg. with this
hostapd.conf
:the
wpa_passphrase()
function would would returnFoo
instead ofFoo=Bar
, incorrectly cropping the passkey.As a result, when editing the hotspot settings, the user may incorrectly update its passkey without even knowing it. Luckily, mine was cropped to a too short string, so I noticed the error in the form.
I tested the new command with macOS & Linux (Debian) so I guess it should work with most Unix OS.
Also, I guess the problem can happen in other places, like maybe with the
ssid
(can it contain=
signs?).