mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burke Libbey (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-1266) mesos-slave URLs are not unescaped before interpretation
Date Tue, 29 Apr 2014 02:03:15 GMT

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

Burke Libbey updated MESOS-1266:
--------------------------------

    Description: 
Given a slave name "slave(1)":

This URL gives 200:
http://my-slave:5051/slave(1)/state.json

This URL gives 404:
http://my-slave:5051/slave%281%29/state.json

This is frustrating because many HTTP libraries simply won't submit URLs with unescaped parentheses,
and I can't find any way to allocate slave names differently.

  was:
Given a slave name "slave(1)":

This URL gives 200:
http://my-slave:5051/slave(1)/state.json

This URL gives 404:
http://my-slave:5051/slave%281%29/state.json

This is frustrating because many HTTP libraries simply won't submit URLs with unescaped parentheses,
and I can't find any way to allocate slave names differently. I have a workaround, s


> mesos-slave URLs are not unescaped before interpretation
> --------------------------------------------------------
>
>                 Key: MESOS-1266
>                 URL: https://issues.apache.org/jira/browse/MESOS-1266
>             Project: Mesos
>          Issue Type: Bug
>          Components: slave
>    Affects Versions: 0.18.0
>            Reporter: Burke Libbey
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Given a slave name "slave(1)":
> This URL gives 200:
> http://my-slave:5051/slave(1)/state.json
> This URL gives 404:
> http://my-slave:5051/slave%281%29/state.json
> This is frustrating because many HTTP libraries simply won't submit URLs with unescaped
parentheses, and I can't find any way to allocate slave names differently.



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

Mime
View raw message