Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/maven/fixes/8.0' into maven/rele…
Browse files Browse the repository at this point in the history
…ase/8.0
  • Loading branch information
metaventis-build committed Sep 12, 2023
2 parents b4dfb72 + a96e23c commit e7760f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion service/src/main/php/src/tools/h5p/H5PFramework.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,11 @@ public function getLibraryId($machineName, $majorVersion = NULL, $minorVersion =
*/
public function getWhitelist($isLibrary, $defaultContentWhitelist, $defaultLibraryWhitelist)
{
return '';
if ($isLibrary) {
return $defaultLibraryWhitelist;
} else {
return $defaultContentWhitelist;
}
}

/**
Expand Down

0 comments on commit e7760f7

Please sign in to comment.