On 29/11/2023 21:46, Christopher Schultz wrote:
Mark,
On 11/29/23 14:09, Mark Thomas wrote:
It was this change:
https://github.com/apache/tomcat/commit/147fee447e27ec14e3001d9c727db1dcd4cb930c
Reason phrase is an optional element of the HTTP response. This looks
like a bug in whichever WebDAV client library is being used by
LibreOffice.
I'll look into seeing what our options are for addressing this in the
interim. I'll note though that, generally, we don't implement
work-arounds for broken clients - especially ones no-one noticed for
3+ years.
A quick attempt at a hack to just put any text as the reason phrase
didn't work. It looks like the client is looking for a specific reason
phrase.
The good news is that LibreOffice isn't Microsoft, whose implementation
of "WebDAV [fill-in-the-blank-client]" makes me rage with the heat of a
thousand suns. They are likely to take this report seriously, if not
expediciously, and hopefully it will get fixed.
If it's not too complicated, maybe someone from this community could
even propose a patch for the bug. Jean-Max, is that something you could
consider doing?
+1 that is likely to be the quickest way to a solution.
Mark
-chris
On 29/11/2023 14:08, Mark Thomas wrote:
On 28/11/2023 22:27, Jean-Max Reymond wrote:
Hi,
I have an application and a webdav servlet with tomcat.
I am using libreoffice to edit and save files.
the command is:
/usr/lib/libreoffice/program/soffice.bin
ms-excel:ofe|u|https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls --splash-pipe=5
With tomcat 9.0.31 and Ubuntu 20.04, all is OK, editing and saving
With tomcat 9.0.58 and Ubuntu 22.04, failed to save the document
with message : Error saving document Documents.xls
Unable to create object in directory
https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
With tomcat 9.0.69 and centos 9, same as tomcat 9.0.58
For all the tomcat versions, it is OK with MS Office (Word, Excel, ...)
What happens between tomcat 9.0.31 and tomcat9.0.58 ?
https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html
I am able to reproduce this with 11.0.x. I suspect one of the changes
to more strictly follow the HTTP specifications is to blame. I'll do
some debugging and report back.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org