aruba_wlc_clients: use utf8 instead of ascii decoding #738
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
General information
Affected devices: WLAN controllers from Aruba
The
aruba_wlc_clients
check shows how many clients are connected for each SSID.As far as I know, IEEE 802.11 (correct me if I'm wrong, but I think this was introduced with IEEE 802.11-2007 or IEEE 802.11-2012) specifies that an SSID may contain any UTF-8 character. Limiting it to the ASCII character set would therefore be insufficient and lead to errors.
Bug reports
Information about the system or setup should be unimportant, as the error can be reproduced completely independently of the setup and we are talking about a standard here.
Example with ASCII encoding:
Proposed changes
UTF-8 is used instead of ASCII encoding.
I don't think this would break any running system.