Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6871

Scheme parsing is incorrect in libprocess URL::parse().

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • libprocess
    • None

    Description

      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/

      Attachments

        Activity

          People

            ipronin Ilya
            ipronin Ilya
            Timothy Chen Timothy Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: