Closed owenbarritt closed 9 years ago
Hi @owenbarritt Was this causing any issues?
Yes, if the URL of the video had an & in it, it was being escaped to & which was causing issues with the media server I was testing this with not getting the necessary query parameters.
The urldecode bit was just put in for consistency.
OK, merged, thanks for fixing the issue.
The filter is currently escaping the parameters on the URLs as this is the default behaviour when a moodle_url is converted to a string.
This fixes that and also add urldecode() calls to the image and subtitle urls for consistency.