On Gerrit fix for tdf#95272: Lock missing when saving a file (save as) on some webdav server

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Fri Dec 11 02:39:59 PST 2015

Hi all,

the fix for subj bug:
is here:
This is the commit comment, should explain all:
tdf#95792: fix saving file the first time on some WebDAV servers.

Some WebDAV servers don't implement section 7.3 of RFC4918:

This lack of implementation breaks 'Save As...' functionality
when the target is a WebDAV server, by not locking the URL
('reserve the name for use', in RFC4918 parlance).

The server not implementing this usually answers with one of
'405 Method Not Allowed', '501 Not Implemented' or
'412 Precondition Failed' http error codes.

The fix should manage this lack of implementation.

The fix adds a few lines to sfx2, issuing another lock command after the 
file has been saved.

Reviewers are welcome.


Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu

More information about the LibreOffice mailing list