Project

General

Profile

Actions

Feature #13109

closed

Trim whitespace from MAC addresses in user input

Added by → luckman212 over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default

Description

Small patch to trim MAC address input on POST.

This eases copy & paste which sometimes grabs a little extra whitespace on either end.

Previously this would cause input validation to fail.

Actions #2

Updated by Jim Pingle over 2 years ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.7.0
  • Plus Target Version set to 22.05
Actions #3

Updated by Viktor Gurov over 2 years ago

  • Status changed from Pull Request Review to Feedback

PR merged, thanks!

Actions #4

Updated by Jim Pingle over 2 years ago

  • Subject changed from Trim MAC addresses when submitting (e.g. on services_dhcp_edit.php) to Trim whitespace from MAC addresses in user input
Actions #5

Updated by Christopher Cope over 2 years ago

  • Status changed from Feedback to Resolved

Tested and working successfully on

22.05-BETA (amd64)
built on Wed May 11 06:37:46 UTC 2022
FreeBSD 12.3-STABLE

Marking resolved.

Actions

Also available in: Atom PDF