-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39968/#review118596
-----------------------------------------------------------




3rdparty/libprocess/src/help.cpp (line 122)
<https://reviews.apache.org/r/39968/#comment179876>

    I think could use
    ```
    strings::split(strings::trim(request.url.path, strings::ANY, "/"), "/", 3);
    ```
    to handle this part.
    `tokens[1]` is always the id while `tokens[2]` is the name when 
`tokens.size() >= 3`.


- haosdent huang


On Nov. 5, 2015, 7:25 a.m., Guangya Liu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39968/
> -----------------------------------------------------------
> 
> (Updated Nov. 5, 2015, 7:25 a.m.)
> 
> 
> Review request for mesos and Ben Mahler.
> 
> 
> Bugs: MESOS-3833
>     https://issues.apache.org/jira/browse/MESOS-3833
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Enable endpoint include nested paths
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/src/help.cpp 3f82c0fb41a0d9388d88dbecc9289d705c2a343a 
> 
> Diff: https://reviews.apache.org/r/39968/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>

Reply via email to