Moodle cache-control header broken

Description

In ajax.php there are several places where header is set using header('Content-Control', 'no-cache'). This is the wrong syntax.

Relevant: https://h5p.org/node/28354#comment-7814

Environment

None

Acceptance Criteria

Status

Assignee

Pål Jørgensen

Reporter

Thomas Marstrander

Labels

None

Funding

None

Code reviewer

Frode Petterson

Released

None

Time tracking

3h

Fix versions

Sprint

None

Priority

Highest
Configure