mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Mahler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-6871) Scheme parsing is incorrect in libprocess URL::parse().
Date Tue, 10 Jan 2017 20:06:58 GMT

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

Benjamin Mahler updated MESOS-6871:
-----------------------------------
    Summary: Scheme parsing is incorrect in libprocess URL::parse().  (was: Scheme handling
in libprocess URL::parse())

> Scheme parsing is incorrect in libprocess URL::parse().
> -------------------------------------------------------
>
>                 Key: MESOS-6871
>                 URL: https://issues.apache.org/jira/browse/MESOS-6871
>             Project: Mesos
>          Issue Type: Bug
>          Components: libprocess
>    Affects Versions: 1.1.0
>            Reporter: Ilya Pronin
>            Assignee: Ilya Pronin
>             Fix For: 1.2.0
>
>
> {{process::http::URL::parse()}} can mistake the host part for the scheme because of unsuitable
use of {{std::string::find_first_of()}} method which looks for the first character equal to
one of the characters in the given sequence.
> E.g. {{URL::parse("http/abcdef")}} will construct a {{URL}} that represents {{http://cdef/}}.
> Review request: https://reviews.apache.org/r/55177/



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

Mime
View raw message