summaryrefslogtreecommitdiffstats
path: root/wsd/FileServer.cpp
diff options
context:
space:
mode:
authorgokaysatir <gokaysatir@gmail.com>2020-03-30 02:31:23 +0300
committerMichael Meeks <michael.meeks@collabora.com>2020-04-01 20:45:32 +0100
commita486bad79be3838d115e09ccbb55ec47ea36274a (patch)
tree462da1ff51b9c30b3b89e3a305d576cb5873235c /wsd/FileServer.cpp
parentAvoid de-referencing non-existing marker. (diff)
downloadonline-a486bad79be3838d115e09ccbb55ec47ea36274a.tar.gz
online-a486bad79be3838d115e09ccbb55ec47ea36274a.zip
tdf#130568 - Add server os pretty name to help->about
Change-Id: Id6de533dfb8e34a05d348f8ae701bf3c524c9b95
Diffstat (limited to 'wsd/FileServer.cpp')
-rw-r--r--wsd/FileServer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/wsd/FileServer.cpp b/wsd/FileServer.cpp
index ce9e127560..9d833c5108 100644
--- a/wsd/FileServer.cpp
+++ b/wsd/FileServer.cpp
@@ -649,6 +649,7 @@ void FileServerRequestHandler::preprocessFile(const HTTPRequest& request, Poco::
Poco::replaceInPlace(preprocess, std::string("%HOST%"), host);
Poco::replaceInPlace(preprocess, std::string("%VERSION%"), std::string(LOOLWSD_VERSION_HASH));
Poco::replaceInPlace(preprocess, std::string("%SERVICE_ROOT%"), LOOLWSD::ServiceRoot);
+ Poco::replaceInPlace(preprocess, std::string("%OS_INFO%"), LOOLWSD::OSInfo);
std::string protocolDebug = "false";
if (config.getBool("logging.protocol"))