Project

General

Profile

Actions

Bug #2374

closed

When entering values in firewall rules leading and trailing spaces are not deleted

Added by Oliver Loch over 13 years ago. Updated almost 11 years ago.

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

screenshot.png (146 KB) screenshot.png Oliver Loch, 04/13/2012 10:40 AM
Actions #1

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.

Actions #2

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.

Actions #3

Updated by Chris Buechler almost 11 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF