You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Burke Libbey (JIRA)" <ji...@apache.org> on 2014/04/29 04:03:15 UTC

[jira] [Updated] (MESOS-1266) mesos-slave URLs are not unescaped before interpretation

     [ 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. I have a workaround, s

  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.


> 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. I have a workaround, s



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