Moodle

[PATCH] Add support for HTTP_REFERER in download_file_content

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.5
  • Fix Version/s: None
  • Component/s: Libraries
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

The attached patch sets the HTTP_REFERER field to wwwroot when Moodle downloads content from a remote server.

This is required for things like using the Google AJAX Search API.

The patch is against 1.9 but it applies to 2.0 if you take the snoopy bit out.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: