cpliakas / nagiostatus

PHP parser library for the Nagios status.dat file.
GNU General Public License v2.0
1 stars 0 forks source link

Fix false positive in error detection #7

Closed cpliakas closed 12 years ago

cpliakas commented 12 years ago

The buildDocument() method incorrectly identifies empty lines as being invalid. The logic should be modified to correctly handle empty lines. There is no error handling currently in place to the library still works, but it will cause problems when we implement the observer pattern.