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

Libprocess' http client does not encode the outgoing query.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.8.0
    • Component/s: libprocess
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: