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

[lang] RandomStringUtils.random() family of methods create invalid unicode sequences

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2
    • None
    • None
    • Operating System: All
      Platform: All

    • 37690

    Description

      Problem are surrogate pairs:
      E.g. RandomStringUtils.random(int) may create strings with a high surrogate not
      followed by a low surrogate character.

      When processing them, we get errors in string-conversion-functions later on.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stefanhoehne@fastmail.fm Stefan Höhne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: