Bug 408670

Summary: wireguard: endpoint field has strange requirement on FQDN
Product: [Applications] systemsettings Reporter: hexchain <kde>
Component: kcm_networkmanagementAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: normal CC: bcom, jgrulich
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description hexchain 2019-06-13 23:21:17 UTC
Currently, the "endpoint" field of a WireGuard peer requires the FQDN to have at least two characters between dots. This limit is strange, as it is perfectly legal to have an FQDN like "name.l.domain.com".
Comment 1 Jan Grulich 2019-07-08 07:12:51 UTC
Git commit 12a7ea055197a5c8373679aaaa84a5b1634e1078 by Jan Grulich, on behalf of Bruce Anderson.
Committed on 08/07/2019 at 07:12.
Pushed by grulich into branch 'master'.

Change validator for Endpoint Address entry field

Summary:

Change validator for FQDN entry in Endpoint Address entry
field to allow single character domain names rather than
limiting them to a minimum of two characters.

Reviewers: jgrulich

Reviewed By: jgrulich

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22283

M  +4    -5    libs/editor/settings/wireguardpeerwidget.cpp

https://commits.kde.org/plasma-nm/12a7ea055197a5c8373679aaaa84a5b1634e1078
Comment 2 Jan Grulich 2019-07-08 07:15:37 UTC
Git commit 3ebb0ad8cb60ad128347faa313f0c97f928d8cd2 by Jan Grulich, on behalf of Bruce Anderson.
Committed on 08/07/2019 at 07:15.
Pushed by grulich into branch 'Plasma/5.16'.

Change validator for Endpoint Address entry field

Summary:

Change validator for FQDN entry in Endpoint Address entry
field to allow single character domain names rather than
limiting them to a minimum of two characters.

Reviewers: jgrulich

Reviewed By: jgrulich

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22283

M  +4    -5    libs/editor/settings/wireguardpeerwidget.cpp

https://commits.kde.org/plasma-nm/3ebb0ad8cb60ad128347faa313f0c97f928d8cd2