Commit 9720dc9c authored by Robert Lyon's avatar Robert Lyon

Bug 1719491: Escape string for default license

Which is only the user's name

Change-Id: I01d3dab89c0f48b6b734b31690f1b4036c7cf7a6
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 974728dd)
parent a732649d
...@@ -281,7 +281,7 @@ function render_license($artefact) { ...@@ -281,7 +281,7 @@ function render_license($artefact) {
$copyrightholder = $licensor; $copyrightholder = $licensor;
} }
else { else {
$copyrightholder = $artefact->display_owner(); $copyrightholder = hsc($artefact->display_owner());
} }
if ($licensorurl) { if ($licensorurl) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment