Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.6.5, 2.7.2
-
Component/s: Files API
-
Testing Instructions:
-
Affected Branches:MOODLE_26_STABLE, MOODLE_27_STABLE
-
Fixed Branches:MOODLE_26_STABLE, MOODLE_27_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
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.