Skip to content

Commit

Permalink
Input sanitization #36
Browse files Browse the repository at this point in the history
  • Loading branch information
AidasK committed Apr 22, 2017
1 parent d621e27 commit c6802bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Flow/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function getIdentifier()
*/
public function getChunkPath($index)
{
return $this->config->getTempDir().DIRECTORY_SEPARATOR.$this->identifier.'_'.$index;
return $this->config->getTempDir().DIRECTORY_SEPARATOR.basename($this->identifier).'_'. (int) $index;
}

/**
Expand Down

0 comments on commit c6802bf

Please sign in to comment.