Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1239068

Method encode of class java.net.URLEncoder may fail

    XMLWordPrintable

Details

    • 1.1
    • sparc
    • solaris_1
    • Not verified

    Description

      If the string argument to the encode method of class java.net.URLEncoder
      contains a character whose value is above 0xff, it will result in feeding a
      digit value to Character.forDigit that is greater than 15. As a result the
      encoded string will contain a null character after the "%" rather than a
      hexadecimal digit.

      Attachments

        Activity

          People

            fyellinsunw Frank Yellin (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: