Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(reported_content): sanitize report URLs
  • Loading branch information
jeabakker committed Dec 6, 2021
1 parent ea72485 commit c30b17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/reportedcontent/actions/reportedcontent/add.php
Expand Up @@ -18,7 +18,7 @@
$report = new ElggReportedContent();
$report->owner_guid = elgg_get_logged_in_user_guid();
$report->title = $title;
$report->address = $address;
$report->address = elgg_normalize_site_url($address);
$report->description = $description;
$report->access_id = $access;

Expand Down

0 comments on commit c30b17b

Please sign in to comment.