Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37014

Webdav repositories not working for some servers

XMLWordPrintable

    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-37014_webdav_folders
    • Hide
      1. set up a webdav repository
      2. create a forum post
      3. add an attachment to the forum, from the webdav repository
        1. confirm you can navigate to subfolders and list all files in those subfolders
        2. confirm that any files selected download successfully
      Show
      set up a webdav repository create a forum post add an attachment to the forum, from the webdav repository confirm you can navigate to subfolders and list all files in those subfolders confirm that any files selected download successfully

      I have a client whose webdav server returns the full server url in the 'href' element of each file & folder when using the 'PROPFIND' (ls) call.

      This seems to cause all sorts of problems with the webdav repository:

      Stripping the server URL from the 'href' attribute, before returning it to the filepicker seems to solve all of these problems (and won't cause problems on servers that were previously working, as they will not have a URL to strip out).

      I will attach a patch in a moment.

            davosmith Davo Smith
            davosmith Davo Smith
            Frédéric Massart Frédéric Massart
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.