Bug 408670 - wireguard: endpoint field has strange requirement on FQDN
Summary: wireguard: endpoint field has strange requirement on FQDN
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-13 23:21 UTC by hexchain
Modified: 2024-12-23 18:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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