Skip to content

Commit c6802bf

Browse files
committed
Input sanitization #36
1 parent d621e27 commit c6802bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Flow/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function getIdentifier()
5858
*/
5959
public function getChunkPath($index)
6060
{
61-
return $this->config->getTempDir().DIRECTORY_SEPARATOR.$this->identifier.'_'.$index;
61+
return $this->config->getTempDir().DIRECTORY_SEPARATOR.basename($this->identifier).'_'. (int) $index;
6262
}
6363

6464
/**

0 commit comments

Comments
 (0)