Skip to content

Commit

Permalink
Disallow importing handle from import
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianPrieber committed Feb 10, 2024
1 parent c2692f3 commit 59b7c3e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/Http/Controllers/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1143,9 +1143,7 @@ public function importData(Request $request)
if (isset($userData['name'])) {
$user->name = $userData['name'];
}
if (isset($userData['littlelink_name'])) {
$user->littlelink_name = $userData['littlelink_name'];
}

if (isset($userData['littlelink_description'])) {
$sanitizedText = $userData['littlelink_description'];
$sanitizedText = strip_tags($sanitizedText, '<a><p><strong><i><ul><ol><li><blockquote><h2><h3><h4>');
Expand Down

0 comments on commit 59b7c3e

Please # to comment.