-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68422/
-----------------------------------------------------------
(Updated Aug. 23, 2018, 11:26 a.m.)
Review request for mesos, Benjamin Mahler, Gastón Kleiman, and Joseph Wu.
Changes
-------
Updated per comments.
Bugs: MESOS-9168
https://issues.apache.org/jira/browse/MESOS-9168
Repository: mesos
Description
-------
This function is supposed to be encoding the query parameters, but
currently fails to do so, resulting in:
```
libprocess\src\tests\http_tests.cpp(655): error: Value of: read.get()
Expected: starts with "GET /?path=C%3A%5Cfoo%5Cbar%253Abaz"
Actual: "GET /?path=C:\foo\bar%3Abaz HTTP/1.1\r\nConnection:
close\r\nHost: mesos.apache.org\r\nContent-Length: 0\r\n\r\n"
```
The query parameter is going over the wire unencoded.
Diffs (updated)
-----
3rdparty/libprocess/src/tests/http_tests.cpp
89d3bb2f91efe97591fe3f43e947413cf8b61f8c
Diff: https://reviews.apache.org/r/68422/diff/2/
Changes: https://reviews.apache.org/r/68422/diff/1-2/
Testing
-------
Thanks,
Andrew Schwartzmeyer