tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2293) Closure minimizer produces invalid output on non-UTF-8 systems
Date Thu, 28 Aug 2014 07:32:58 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113480#comment-14113480
] 

Hudson commented on TAP5-2293:
------------------------------

FAILURE: Integrated in tapestry-trunk-freestyle #1316 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/1316/])
TAP5-2293: send the minified resource as an UTF-8 stream regardless of the platform's default
encoding (jochen.kemnade: rev 004a1e8e1de13c0831c6fe153d45e526126491f2)
* tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/GoogleClosureMinimizer.java


> Closure minimizer produces invalid output on non-UTF-8 systems
> --------------------------------------------------------------
>
>                 Key: TAP5-2293
>                 URL: https://issues.apache.org/jira/browse/TAP5-2293
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-webresources
>    Affects Versions: 5.4
>            Reporter: Jochen Kemnade
>            Assignee: Jochen Kemnade
>            Priority: Blocker
>              Labels: patch
>             Fix For: 5.4
>
>         Attachments: 0001-specify-encoding-when-getting-an-InputStream-from-a-.patch
>
>
> When reading the minimization result from the Closure Compiler, the String is turned
into an input stream using the platform's default encoding. If that is not UTF-8, the content
that is sent to the browser is probably broken.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message