Bug 83531

Summary: Opening URL fails if it's WebDav and write access is restricted
Product: LibreOffice Reporter: Anton Backer <olegov>
Component: frameworkAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED --- QA Contact:
Severity: normal    
Priority: medium CC: olegov
Version: 4.2.6.2 release   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Anton Backer 2014-09-05 14:51:14 UTC
After running `soffice http://some/webdav/path`, this was the apache access log from our webdav server:

  "PROPFIND http://some/webdav/path HTTP/1.1" 207 1043 "-" "LibreOffice"
  "HEAD http://some/webdav/path HTTP/1.1" 200 299 "-" "LibreOffice"
  "GET http://some/webdav/path HTTP/1.1" 200 1504043 "-" "LibreOffice"
  "LOCK http://some/webdav/path HTTP/1.1" 401 709 "-" "LibreOffice"

I think that LibreOffice is detecting that the server supports WebDav. Issuing a LOCK requires additional permissions, so LibreOffice prompts me for username/password. Since I have no username on this server, I hit "Cancel", and LibreOffice responds with: "General Internet error has occurred."

Issue happens both on the command line, via `soffice <webdav url>` and from the GUI's open-file dialog.

To test this on a public svn repo, try opening http://unladen-swallow.googlecode.com/svn/trunk/LICENSE. wget can fetch it without issue, but LibreOffice shows the following error:

  Error reading data from the Internet.
  Server error message: 405 Method Not Allowed.

This first started happening to me after I upgraded from Ubuntu 12.04 (which came with LibreOffice 3.5) to Ubuntu 14.04 (which came with LibreOffice 4.2.6.3 420m0(Build:3)).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.