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

Shi Wang commented on KNOX-18:
------------------------------

[~kminder]

I recently encounter an issue regarding to 1) in your comment. Say if we 
specify a rewrite filter for the request body and in the filter we want to 
change type application/x-www-form-urlencoded to asType 
application/octet-stream, then this personalized filter will be invalid since 
the request body will still be applied contentType as 
application/x-www-form-urlencoded.

Maybe we should check if there is any asType for request body first before 
doing the urlEncode?

> IdentityAssertionHttpServletRequestWrapper should only be used when required 
> by the service
> -------------------------------------------------------------------------------------------
>
>                 Key: KNOX-18
>                 URL: https://issues.apache.org/jira/browse/KNOX-18
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.2.0
>            Reporter: Kevin Minder
>             Fix For: Future
>
>
> From BUG-4297
> This is a performance issue since it filters the request stream.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to