[ 
https://issues.apache.org/jira/browse/AMBARI-4651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vitaly Brodetskyi updated AMBARI-4651:
--------------------------------------

    Affects Version/s: 1.5.0

> Proxy have some problems with POST,PUT requests when passing xml data in body
> -----------------------------------------------------------------------------
>
>                 Key: AMBARI-4651
>                 URL: https://issues.apache.org/jira/browse/AMBARI-4651
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.5.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>             Fix For: 1.5.0
>
>
> For example trying to pass such xml:
> {code}
> <?xml version="1.0"?>
> <cluster colo="default" description="" name="mycluster" 
> xmlns="uri:falcon:cluster:0.1"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>    
>     <interfaces>
>         <interface type="readonly" 
> endpoint="hftp://c6401.ambari.apache.org:50070"; version="2.2.0.2.0.6.0-76" />
>         <interface type="write" 
> endpoint="hdfs://c6401.ambari.apache.org:8020" version="2.2.0.2.0.6.0-76" />
>         <interface type="execute" endpoint="c6401.ambari.apache.org:8050" 
> version="2.2.0.2.0.6.0-76" />
>         <interface type="workflow" 
> endpoint="http://c6401.ambari.apache.org:11000/oozie"; version="3.1.4" />
>         <interface type="messaging" 
> endpoint="tcp://c6401.ambari.apache.org:61616?daemon=true" version="5.1.6" />
>     </interfaces>
>     <locations>
>         <location name="staging" path="/projects/falcon/staging" />
>         <location name="temp" path="/tmp" />
>         <location name="working" path="/projects/falcon/working" />
>     </locations>
> </cluster>
> {code}
> I think that problem can be in escaping of " by \".



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to