mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Rukletsov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-8329) Handling of URLs with multiple consecutive slashes is inconsistent
Date Thu, 14 Dec 2017 14:33:00 GMT

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

Alexander Rukletsov updated MESOS-8329:
---------------------------------------
    Labels: newbie++  (was: )

> Handling of URLs with multiple consecutive slashes is inconsistent
> ------------------------------------------------------------------
>
>                 Key: MESOS-8329
>                 URL: https://issues.apache.org/jira/browse/MESOS-8329
>             Project: Mesos
>          Issue Type: Bug
>          Components: libprocess
>    Affects Versions: 1.5.0
>            Reporter: Benjamin Bannier
>              Labels: newbie++
>
> The behavior of URLs containing multiple consecutive slashes is inconsistent, e.g., requesting
{{/master//maintenance/schedule}} from a Mesos master returns a {{200 OK}}, while {{/master/maintenance//schedule}}
returns a {{404 Not Found}}.
> This seems to be due to [us trimming slashes around process ids|https://github.com/apache/mesos/blob/master/3rdparty/libprocess/src/process.cpp#L3526-L3529]
and no extra normalization of paths when finding handlers or installing handlers (see e.g.,
[here|https://github.com/apache/mesos/blob/master/3rdparty/libprocess/src/process.cpp#L3531-L3538]
or [here|https://github.com/apache/mesos/blob/master/3rdparty/libprocess/src/process.cpp#L3714-L3730]).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message