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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: