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

        Mark Thomas made changes -
        Workflow jira [ 12371661 ] Default workflow, editable Closed status [ 12602176 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Henri Yandell made changes -
        Fix Version/s 2.2 [ 12311702 ]
        Henri Yandell made changes -
        Affects Version/s 2.1 Final [ 12311701 ]
        Henri Yandell made changes -
        Affects Version/s 2.1 Final [ 12311659 ]
        Key COM-2604 LANG-100
        Fix Version/s 2.2 [ 12311686 ]
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Project Commons [ 12310458 ] Commons Lang [ 12310481 ]
        Component/s Lang [ 12311121 ]
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 37690 12342756
        Stefan Höhne created 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