Bug 83531 - Opening URL fails if it's WebDav and write access is restricted
Summary: Opening URL fails if it's WebDav and write access is restricted
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version: 4.2.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-05 14:51 UTC by Anton Backer
Modified: 2014-09-05 14:53 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.