<table><tr><td style="">hexchain updated this revision to Diff 76418.<br />hexchain edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-5qui7xssp3rb4cw/">(Show Details)</a><br />hexchain edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-gjhy4rsopr2azcy/">(Show Details)</a><br />hexchain added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27661">View Revision</a></tr></table><br /><div><div><p>Edited summary according to guidelines</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">The `SimpleIpListValidator` validates each trimmed item in a comma-separated<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>list, but `WireGuardPeerWidget` sets `peerData` without trimming each item.<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>Untrimmed items are not accepted by NetworkManager, so the user might see <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">NM </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">NM<br />
</span>rejecting values that are valid in the peer settings dialog.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">1. Type a comma-separated list of IP addresses, with spaces around comma, into<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> the "Allowed IPs" field of the WireGuard peer settings dialog.</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">the "Allowed IPs" field of the WireGuard peer settings dialog.<br />
<br />
</span>2. Save the connection. No error should be reported by NM.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R116 Plasma Network Management Applet</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D27661?vs=76417&id=76418">https://phabricator.kde.org/D27661?vs=76417&id=76418</a></div></div><br /><div><strong>BRANCH</strong><div><div>arcpatch-D27661</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27661">https://phabricator.kde.org/D27661</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>libs/editor/settings/wireguardpeerwidget.cpp</div></div></div><br /><div><strong>To: </strong>hexchain, jgrulich<br /><strong>Cc: </strong>usta, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>