Project

General

Profile

Bug #6438

System Tunables refuses non-alphanumeric characters

Added by Richard van Dijk almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Web Interface
Target version:
Start date:
06/01/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.3.x
Affected Architecture:
All

Description

Create system tunable 'kern.timecounter.hardware' with value 'TSC-low' through the web GUI of pfSense 2.3.1_1.

Try to save it, and an error is displayed. The value is not saved. This is the error message:

The following input errors were detected:
The value may contain alphanumeric characters only.

Note that 'TSC-low' is a valid value for this tunable, and the GUI should allow it like it did in pre 2.3 versions.

Associated revisions

Revision 582a45f9 (diff)
Added by Chris Buechler almost 3 years ago

Allow - and _ in sysctl values. Ticket #6438

Revision 3c8e75d4 (diff)
Added by Chris Buechler almost 3 years ago

Allow - and _ in sysctl values. Ticket #6438

Revision 77e9359b (diff)
Added by Chris Buechler almost 3 years ago

Allow - and _ in sysctl values. Ticket #6438

History

#1 Updated by Chris Buechler almost 3 years ago

  • Status changed from New to Feedback
  • Assignee set to Chris Buechler
  • Target version set to 2.3.1_2
  • Affected Version changed from 2.3.1 to 2.3.x

I added - and _ as allowed characters. I believe that covers every usable sysctl value.

#2 Updated by Richard van Dijk almost 3 years ago

Yes, I agree that this should cover it. Thanks!

#3 Updated by Chris Buechler almost 3 years ago

  • Status changed from Feedback to Resolved

works

Also available in: Atom PDF