MathNodes / meile-gui

Meile dVPN GUI for Linux, OS X, and Windows - Powered by the Sentinel Network
https://meile.app
GNU General Public License v3.0
35 stars 6 forks source link

Check for Allowed Characters in Wallet Name #85

Closed MathNodes closed 2 months ago

MathNodes commented 6 months ago

A user had an error this week and it was the first I saw. His wallet name contained a quote ' which confused the sentinel-cli. This error will be addressd when we are fully migrated to the SDK. But there should be a check to not allow certain characters in the Wallet NAME:

Image

MathNodes commented 3 months ago

@Tkd-Alex if you could create a check for special characters in https://github.com/MathNodes/meile-gui/blob/b9ae699f56f673bc83bd2cf835c7bc48c915f74f/src/ui/screens.py#L75

such as ()'"[] etc and create a little label with opacity 0 setting opacity to 1 warning user that special characters are not allowed in wallet_name

spaces are okay.

Tkd-Alex commented 2 months ago

image