-
Bug
-
Resolution: Fixed
-
Minor
-
3.3
-
MOODLE_33_STABLE
-
MOODLE_33_STABLE
-
MDL-58823-master -
webservice/pluginfile.php is defined as AJAX_SCRIPT (so exceptions are returned in json format)
This means that the redirect() function will throw an exception if is called via that file.
The new repositories (googledocs and onedrive) uses redirect for redirecting the user to controlled links, this means that we won't be able to see those files when using webservice/pluginfile.php from the mobile app
After discussing this with Damyon, he agreed that we can replace the redirect with header('Location' . ) and create a follow-up issue to discuss what to do. It seems that the redirect function should be the one being used.