Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-981

DurationFormatUtils#lexx does not detect unmatched quote char

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3.1
    • lang.time.*
    • None

    Description

      The method DurationFormatUtils#lexx does not detect if the format string contains an unmatched single-quote character.

      For example "yMd'test" should really be rejected, as the literal string "test" is not properly terminated.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: