Skip to content

Commit

Permalink
HFP-1258 Whitelist .webvtt
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyylim authored Jul 7, 2017
1 parent cc7caa6 commit 91ff991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h5p.classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -1746,7 +1746,7 @@ class H5PCore {
'js/h5p-utils.js',
);

public static $defaultContentWhitelist = 'json png jpg jpeg gif bmp tif tiff svg eot ttf woff woff2 otf webm mp4 ogg mp3 wav txt pdf rtf doc docx xls xlsx ppt pptx odt ods odp xml csv diff patch swf md textile vtt';
public static $defaultContentWhitelist = 'json png jpg jpeg gif bmp tif tiff svg eot ttf woff woff2 otf webm mp4 ogg mp3 wav txt pdf rtf doc docx xls xlsx ppt pptx odt ods odp xml csv diff patch swf md textile vtt webvtt';
public static $defaultLibraryWhitelistExtras = 'js css';

public $librariesJsonData, $contentJsonData, $mainJsonData, $h5pF, $fs, $h5pD, $disableFileCheck;
Expand Down

0 comments on commit 91ff991

Please sign in to comment.