Actions
Bug #2374
closedWhen entering values in firewall rules leading and trailing spaces are not deleted
Status:
Resolved
Priority:
Very Low
Assignee:
-
Category:
Web Interface
Target version:
-
Start date:
04/13/2012
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0.1
Affected Architecture:
All
Description
Hi,
as the topic says. If you enter a port number in the firewall rules page and you add a leading or trailing space by mistake the system complaints about this and says that the number is not a valid portnumber.
As one can't see the space in the error message it's kinda tricky.
I added a screenshot to show the problem. The trailing space is at the end of the destination port range's end number.
Automagic format or something would be nice.
KR,
Grimeton
Files
Updated by Jim Pingle over 13 years ago
- Subject changed from When entering port numbers in firewall rules leading and trailing spaces are not deleted to When entering values in firewall rules leading and trailing spaces are not deleted
Same thing happens for IPs also. Shouldn't be too hard to trim() before checking though.
Updated by Jim Pingle over 12 years ago
- Status changed from New to Feedback
Fixed by commit on this ticket but not marked as fixed.
Updated by Chris Buechler almost 11 years ago
- Status changed from Feedback to Resolved
Actions