mirror of
https://github.com/syncthing/syncthing.git
synced 2026-05-12 09:03:57 -04:00
### Purpose In the GUI, the device ID validation was case-sensitive and didn’t account for dash variations, which allowed users to enter an existing device ID without receiving proper feedback. This fix ensures the ID is validated in its canonical form, thus preventing the user from submitting the request if the device ID already exists. ### Testing To test this change, try adding a new device with an ID that matches an existing device, but with a different case or dashes.