[ 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)