mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Kordich via Review Board <>
Subject Re: Review Request 66002: Fixed the HTTP API path variables on Windows.
Date Fri, 09 Mar 2018 20:17:16 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated March 9, 2018, 8:17 p.m.)

Review request for mesos, Akash Gupta, Andrew Schwartzmeyer, Jeff Coffler, and Joseph Wu.


Expanded commit message

Summary (updated)

Fixed the HTTP API path variables on Windows.

Repository: mesos

Description (updated)

Many mesos frameworks assume that path separators are forward slashes,
like dcos-ui and marathon-ui. dcos-cli also assumes this. Previous to
this patch, if a forward slash was given in the path variable to an HTTP
API function call to the mesos agent on a Windows system, the Windows
API would fail at recognizing the path, because the Windows API accepts
only backslashes as path separators. To remedy this issue, we now
convert all forward slashes passed as a path to the HTTP API to an agent
to back slashes on Windows agents by using the path::from_uri function.

Diffs (updated)

  src/files/files.cpp 5f92d2af722c3201200fa1d6a75dc0b87fdc6078 
  src/tests/files_tests.cpp c703cae03345112715aeab83cb0a74abe3e12469 




Tested on both Windows and Linux, all tests pass, including the two newly enabled tests on


John Kordich

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message