[
https://issues.apache.org/jira/browse/MESOS-3833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991037#comment-14991037
]
Guangya Liu commented on MESOS-3833:
------------------------------------
There are two solutions for this, the first is do not use nested paths and
update all nested paths to single string, the second is update
https://github.com/apache/mesos/blob/master/3rdparty/libprocess/src/help.cpp#L120-L127
to support nested path, but it is difficult to handle this as the current
nested paths including two words and not sure if we have more words nested
paths in future.
[~bmahler] any comments? Thanks.
> /help endpoints do not work for nested paths
> --------------------------------------------
>
> Key: MESOS-3833
> URL: https://issues.apache.org/jira/browse/MESOS-3833
> Project: Mesos
> Issue Type: Bug
> Components: HTTP API
> Reporter: Anand Mazumdar
> Priority: Minor
> Labels: mesosphere, newbie
>
> Mesos displays the list of all supported endpoints starting at a given path
> prefix using the {{/help}} suffix, e.g. {{master:5050/help}}.
> It seems that the {{help}} functionality is broken for URL's having nested
> paths e.g. {{master:5050/help/master/machine/down}}. The response returned is:
> {quote}
> Malformed URL, expecting '/help/id/name/'
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)