You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Ilya Pronin (JIRA)" <ji...@apache.org> on 2017/01/06 11:37:58 UTC
[jira] [Created] (MESOS-6871) Scheme handling in libprocess
URL::parse()
Ilya Pronin created MESOS-6871:
----------------------------------
Summary: Scheme handling 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
{{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 an {{URL}} that represents {{http://cdef/}}.
Review request: https://reviews.apache.org/r/55177/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)