Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29490 META: WebDAV repository improvement
  3. MDL-38799

Webdav servers without content-type encoding : blank list of files

XMLWordPrintable

    • MOODLE_24_STABLE

      First I hope it's the good way to do it.

      As pointed briefly in this quote :
      https://tracker.moodle.org/browse/MDL-22663?focusedCommentId=113893&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-113893
      there is still a problem with some servers that don't return their content-type encoding.
      For example, one I'm trying to connect is returning 'Content-Type' => 'text/xml' and Moodle says "Missing Content-Type: text/xml header in response!!" in debug mode.
      in lib/webdavlib.php:812 , I have surrounded the part with charset=xxx with ()? and then it worked.
      There is others tests about charset l.623 and l.720 in the same file.
      My knowledge stops here, is it a problem to avoid charset tests ? I think not.

            Unassigned Unassigned
            lartet Florent Lartet
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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