loolwsd/UserMessages.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit 88f3a213b0e0d7ac4827fa3d8fbd9ca9a245abd7 Author: Ashod Nakashian <[email protected]> Date: Tue Aug 30 18:16:03 2016 -0400 loolwsd: first character of 404 messages are trimmed For some reason Poco trims the first character of 404 and other HTTP error messages. We need to prefix messages with a space to avoid having the first character chopped-off. Change-Id: I8cbda9f4b5df894418f1dedf390b8b43a61e5d11 Reviewed-on: https://gerrit.libreoffice.org/28521 Reviewed-by: Ashod Nakashian <[email protected]> Tested-by: Ashod Nakashian <[email protected]> diff --git a/loolwsd/UserMessages.hpp b/loolwsd/UserMessages.hpp index 5208b09..2ef4c8b 100644 --- a/loolwsd/UserMessages.hpp +++ b/loolwsd/UserMessages.hpp @@ -12,8 +12,10 @@ #ifndef INCLUDED_USERMESSAGES_HPP #define INCLUDED_USERMESSAGES_HPP -constexpr auto SERVICE_UNAVALABLE_INTERNAL_ERROR = "Service is unavailable. Please try again later and report to your administrator if the issue persists."; -constexpr auto SERVICE_UNAVALABLE_LIMIT_REACHED = "This server has reached the number of connections or documents it supports at a given time."; +//NOTE: For whatever reason Poco seems to trim the first character. + +constexpr auto SERVICE_UNAVALABLE_INTERNAL_ERROR = " Service is unavailable. Please try again later and report to your administrator if the issue persists."; +constexpr auto SERVICE_UNAVALABLE_LIMIT_REACHED = " This server has reached the number of connections or documents it supports at a given time."; #endif _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
