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

CURL unit test fails when connection is downgraded to http 1.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.6.6, 2.7.3
    • 2.6.5, 2.7.2
    • Files API

    Description

      The test URL http://download.moodle.org/unittest/test_redir.php?done=1 fails because it sends a bogus header:

      302 Moved Temporarily

      (Verified with Firefox developer tools.) It should be 302 Found (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.3).

      I have had enough of seeing unit tests fail because of this. I am going to make it just check the first 4 chars of the string.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Dan Poltawski Dan Poltawski
            Damyon Wiese Damyon Wiese
            Damyon Wiese Damyon Wiese
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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