[Libreoffice-bugs] [Bug 133673] New: LibreOffice fails to refresh Locks when using WebDAV with Authorization
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Jun 4 12:59:46 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=133673
Bug ID: 133673
Summary: LibreOffice fails to refresh Locks when using WebDAV
with Authorization
Product: LibreOffice
Version: 6.4.3.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: Julian.Kalinowski at dataport.de
Description:
When loading a document from a WebDAV Server with Authorization, LibreOffice
first tries to perform every WebDAV HTTP Request without Authorization Header.
As this results in a a 401 Unauthorized Response, LibreOffice tries again with
correctly set Authorization Header (this is for WWW-Authenticate: Negotiate, I
don't know if there are other cases).
Now, requests succeed as expected.
This is shown in webdav-lock-conversation.txt.
However, WebDAV locks need to be refreshed from time to time. As LO does this,
it again tries without Authorization header first, receives 401 Unauthorized -
and gives up.
This is shown in webdav-lockrefresh-conversation.txt (well, there is not much
to show as the conversation just ends after the 401 response).
Expected: LO should try again, just like it does when loading a document.
The conversations were logged with a closed-source WebDAV server. I will try to
reproduce with another one soon.
Also I'm not quite sure what the correct behaviour is when refreshing a lock.
Servers could also accept lock refresh commands without authorization, but
obviously, this one doesn't and the WebDAV RFC does not seem to be specific
about that.
Steps to Reproduce:
1. use webdav server with authorization and locking enabled
2. open odt from webdav server (should lock the file)
3. wait e.g. 180s
Actual Results:
lock is gone as it is not refreshed
Expected Results:
lock should be refreshed correctly
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Version: 6.4.3.2 (x86)
Build-ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU-Threads: 4; BS: Windows 10.0 Build 17763; UI-Render: Standard; VCL: win;
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200604/3b96a101/attachment.htm>
More information about the Libreoffice-bugs
mailing list