Wicket
  1. Wicket
  2. WICKET-5374

SourcesPage fails on resources with non-ASCII characters

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.9.1, 7.0.0-M1
    • Fix Version/s: 6.12.0, 7.0.0-M1
    • Component/s: wicket-examples
    • Labels:
      None

      Description

      When created with a String input argument, XhtmlRenderer uses the deprecated java.io.StringBufferInputStream, which "does not properly convert characters into bytes" (javadoc).

      Thus the rendered output may contain invalid characters for the Ajax response.

        Activity

        Hide
        Sven Meier added a comment -

        using another XhtmlRenderer constructor now to avoid usage of StringBufferInputStream

        Show
        Sven Meier added a comment - using another XhtmlRenderer constructor now to avoid usage of StringBufferInputStream

          People

          • Assignee:
            Sven Meier
            Reporter:
            Sven Meier
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development