Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-684

INI parser keeps escape characters in keys and values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.2, 1.4.0
    • 1.5.0
    • Configuration
    • None

    Description

      If I have a .ini file and I want to escape a character, the ini parser does not remove the escape character. For example, with a role such as "System\ Administrator = permissions" the key becomes "System\ Administrator" and the value "permissions", i.e. the escape char \ is not removed. The bug is in Ini.Section.splitKeyValue(String). The code checks for an escape character but does not skip or remove the escape character from the buffer.

      Attachments

        Issue Links

          Activity

            People

              fpapon Francois Papon
              ndjensen Nathan Jensen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m