Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-347

tabs in a properties configuration files are not recognized as white space

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • None
    • Configurator
    • None
    • any

    Description

      tabs in a properties configuration file are considered as significant in the same way as letters and digits, instead of being skipped as white space.

      This is because the source code of the parser mistakingly thinks that the ascii code for tab is 0x08, while it actually is 0x09.

      Fix: in file properties.cpp, in function void PropertyParser::parse(LogString& in, Properties& properties) (which starts at line 30),

      change all occurrences of 0x08 to 0x09.

      There are 7 such occurrences, on lines 50, 79, 109, 138, 167, 212, 245.

      Attachments

        Activity

          People

            carnold@apache.org Curt Arnold
            jdmuys Jean-Denis Muys
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified