Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/maven/fixes/8.1' into maven/rele…
Browse files Browse the repository at this point in the history
…ase/8.1
  • Loading branch information
metaventis-build committed Sep 8, 2023
2 parents 3681931 + a96e23c commit 44b6045
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 44b6045

Please sign in to comment.