configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit c59bf4ed3a95e742f1610277ec8b0906070ed2bf Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Sun Nov 24 17:36:24 2019 +0100 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Sun Nov 24 17:36:24 2019 +0100
ENABLE_DEBUG default value should be false and not empty When the default value was empty, @ENABLE_DEBUG@ in loolwsd.xml.in was substituted to empty string, not to "false" as intended in release builds. As a consequence, in new installations, the loading of the loleaflet.html gave 400 Bad request error with a not very helpful error message: wsd-00922-00928 2019-11-24 16:05:55.384859 [ websrv_poll ] INF #23 Exception while processing incoming request: [POST /loleaflet/08aa7d914/loleaflet.html?WOPISrc=http%3A%2F%2F172.22.64.173%2Findex.php%2Fapps%2F...]: Syntax error| wsd/LOOLWSD.cpp:2244euex4o&title=About.odt&lang=en&closebutton=1&revisionhistory=1 HTTP/1.1 Change-Id: Ia8bb18914bb49af057c4618f99124b0f22737f20 diff --git a/configure.ac b/configure.ac index e737bcc2b..3aabde485 100644 --- a/configure.ac +++ b/configure.ac @@ -228,7 +228,7 @@ AS_IF([test "$enable_debug" = yes -a -n "$with_poco_libs"], [POCO_DEBUG_SUFFIX=d], [POCO_DEBUG_SUFFIX=]) -ENABLE_DEBUG= +ENABLE_DEBUG=false LOOLWSD_LOGLEVEL="warning" LOOLWSD_LOG_TO_FILE="false" LOOLWSD_LOGFILE="/var/log/loolwsd.log" _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits