Skip to content

cmake-server: Change message wrapper to avoid ambiguity with content

Brad King requested to merge brad.king/cmake:cmake-server-message-quoting into master

Change our message wrapper from

[== CMake Server ==[ ... ]== CMake Server ==]

to

[== "CMake Server" ==[ ... ]== "CMake Server" ==]

to guarantee that no JSON content can ever contain the ending string (because it would be encoded as ]== \"CMake Server\" ==]).

Merge request reports