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

Joerg Schad updated MESOS-3163:
-------------------------------
    Description: 
The libprocess http.cpp post/get handlers currently do not consider query and 
fragments parts of the path correctly. 
E.g.
{code}
if (path.isSome()) {
    // TODO(benh): Get 'query' and/or 'fragment' out of 'path'.
    url.path = strings::join("/", url.path, path.get());
  }
{code}

  was:
The libprocess http.cpp post/get handlers currently do not consider query and 
fragments parts of the path correctly. 
E.g.

   if (path.isSome()) {
       // TODO(benh): Get 'query' and/or 'fragment' out of 'path'.
       url.path = strings::join("/", url.path, path.get());
    }



> Proper handling of 'query' and/or 'fragment' out of 'path' in http handler.
> ---------------------------------------------------------------------------
>
>                 Key: MESOS-3163
>                 URL: https://issues.apache.org/jira/browse/MESOS-3163
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Joerg Schad
>
> The libprocess http.cpp post/get handlers currently do not consider query and 
> fragments parts of the path correctly. 
> E.g.
> {code}
> if (path.isSome()) {
>     // TODO(benh): Get 'query' and/or 'fragment' out of 'path'.
>     url.path = strings::join("/", url.path, path.get());
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to