Skip to content

Commit

Permalink
[BUGFIX] Limit filename length
Browse files Browse the repository at this point in the history
Related #9
  • Loading branch information
ayacoo committed Apr 4, 2023
1 parent 3cd18ea commit dd6ebda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Helper/TiktokHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ public function getMetaData(File $file)
protected function handleTiktokTitle(string $title): string
{
$title = preg_replace(self::UNICODE_PATTERN, '', $title);
return trim(mb_substr(strip_tags($title), 0, 255));
return trim(mb_substr(strip_tags($title), 0, 100));
}
}

0 comments on commit dd6ebda

Please sign in to comment.