Skip to content

Commit e1ffe87

Browse files
authored
Fix issue for file having large name (#125)
1 parent a006ff5 commit e1ffe87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Handler/ResumableJSUploadHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function __construct(Request $request, $file, $config)
4343
*/
4444
public function getChunkFileName()
4545
{
46-
return $this->createChunkFileName($this->fileUuid, $this->getCurrentChunk());
46+
return $this->createChunkFileName(substr($this->fileUuid,0,40), $this->getCurrentChunk());
4747
}
4848

4949
/**

0 commit comments

Comments
 (0)