You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/08/09 21:14:00 UTC

[jira] [Work logged] (KNOX-1986) POST request with Content-Type: application/xml and empty payload fails with XMLStreamException

     [ https://issues.apache.org/jira/browse/KNOX-1986?focusedWorklogId=292250&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-292250 ]

ASF GitHub Bot logged work on KNOX-1986:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Aug/19 21:13
            Start Date: 09/Aug/19 21:13
    Worklog Time Spent: 10m 
      Work Description: moresandeep commented on pull request #129: KNOX-1986 - Do not attempt to rewrite empty payload
URL: https://github.com/apache/knox/pull/129
 
 
   ## What changes were proposed in this pull request?
   Prevent Knox from rewriting empty payload, this is especially problematic for xml content types.
   
   (Please fill in changes proposed in this fix)
   See if there is payload data if not skip adding rewrite filters.
   ## How was this patch tested?
   Manually tested. Unit test added as well.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 292250)
            Time Spent: 10m
    Remaining Estimate: 0h

> POST request with Content-Type: application/xml and empty payload fails with XMLStreamException
> -----------------------------------------------------------------------------------------------
>
>                 Key: KNOX-1986
>                 URL: https://issues.apache.org/jira/browse/KNOX-1986
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>            Reporter: Sandeep More
>            Assignee: Sandeep More
>            Priority: Major
>             Fix For: 1.4.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It appears that Knox XmlFilterReader does not handle empty payload gracefully.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)