[arquillian-issues] [JBoss JIRA] (ARQ-1561) Warp proxy tries to rewrite binary files

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Fri Nov 8 02:56:01 EST 2013


    [ https://issues.jboss.org/browse/ARQ-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921644#comment-12921644 ] 

Lukáš Fryč commented on ARQ-1561:
---------------------------------

Jan, could you please attach a stack trace?

----

We need both,

* detect a content-type sent in a response and filter just affected parts
* sanitize call of `new String(byte[])`

Additionally I would consider:

* detecting character encoding of the response and pass encoding to `new String(byte[], Charset)`
                
> Warp proxy tries to rewrite binary files
> ----------------------------------------
>
>                 Key: ARQ-1561
>                 URL: https://issues.jboss.org/browse/ARQ-1561
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Warp
>    Affects Versions: 1.0.0.Alpha5
>            Reporter: Jan Dosoudil
>            Priority: Critical
>             Fix For: warp_1.0.0.Alpha6
>
>
> It's related to ARQ-1552 - rewrite calls new String(byte[]) on response byte[] which may fail on binary files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list