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

Libprocess' http client does not encode the outgoing query.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.8.0
    • libprocess

    Description

      During testing of another bug, it was found that we have an unequal number of encode/decode cycles in libprocess. This meant that, when given a query such as ?path=C%3A%5Cfoo%5Cbar%253Abaz, it would erroneously go over the wire as C:\\foo
      bar%3Abaz
      , and then once decoded on the other end, it would look for C:\\foo
      bar:baz
      even though the query was trying to express the literal value C:\\foo
      bar%3Abaz
      .

      Essentially, we were missing an encode in http::internal::encode(Request).

      Attachments

        Activity

          People

            andschwa Andrew Schwartzmeyer
            andschwa Andrew Schwartzmeyer
            Benjamin Mahler Benjamin Mahler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: