Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5374

SourcesPage fails on resources with non-ASCII characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.9.1, 7.0.0-M1
    • 6.12.0, 7.0.0-M1
    • wicket-examples
    • 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.

      Attachments

        Activity

          People

            svenmeier Sven Meier
            svenmeier Sven Meier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: