Commons Lang
  1. Commons Lang
  2. LANG-100

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

    Details

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

      Operating System: All
      Platform: All

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Stefan Höhne
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development