From 5ef60c33c62d9e644f82dc018b93cb5e2bf9c8c9 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Fri, 26 Nov 2021 12:01:44 +0000 Subject: [PATCH] src/Network/props.cxx: with key=value, allow value to contain '='. --- src/Network/props.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Network/props.cxx b/src/Network/props.cxx index a352c7a1e..f6de3a562 100644 --- a/src/Network/props.cxx +++ b/src/Network/props.cxx @@ -554,7 +554,7 @@ FGProps::PropsChannel::foundTerminator() } else { // generic parsing for ( unsigned int i = 2; i < tokens.size(); ++i ) { - const auto pieces = simgear::strutils::split(tokens.at(i), "="); + const auto pieces = simgear::strutils::split(tokens.at(i), "=", 1); if (pieces.size() != 2) { SG_LOG(SG_NETWORK, SG_WARN, "malformed argument to Props protocol run:" << tokens.at(i)); continue;