Skip to content

Commit

Permalink
Fix issue for file having large name (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivank44 authored Aug 31, 2022
1 parent a006ff5 commit e1ffe87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handler/ResumableJSUploadHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct(Request $request, $file, $config)
*/
public function getChunkFileName()
{
return $this->createChunkFileName($this->fileUuid, $this->getCurrentChunk());
return $this->createChunkFileName(substr($this->fileUuid,0,40), $this->getCurrentChunk());
}

/**
Expand Down

0 comments on commit e1ffe87

Please sign in to comment.