/usr/local/www/system.php: strip excess whitespace from ntp field #863

Merged
merged 1 commit into from Dec 24, 2013

Conversation

Projects
None yet
2 participants
@dhiltonp
Contributor

dhiltonp commented Dec 12, 2013

It's easy to have a little too much whitespace in the ntp field.

Instead of telling us that we have an invalid ntp server name, let's remove the error condition by merging all consecutive whitespace and then trimming starting/ending whitespace.

@dhiltonp

This comment has been minimized.

Show comment Hide comment
@dhiltonp

dhiltonp Dec 23, 2013

Contributor

I'm guessing all the core devs are away for christmas?

Contributor

dhiltonp commented Dec 23, 2013

I'm guessing all the core devs are away for christmas?

cbuechler pushed a commit that referenced this pull request Dec 24, 2013

Chris Buechler
Merge pull request #863 from dhiltonp/master
/usr/local/www/system.php: strip excess whitespace from ntp field

@cbuechler cbuechler merged commit 9172982 into pfsense:master Dec 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment