mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Keep the extension in temp files
The file extension helps some applications like ImageMagick to properly process files
This commit is contained in:
parent
0868e49663
commit
8d6b2b8867
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ class TempManager implements ITempManager {
|
|||
}
|
||||
|
||||
protected function generatePath($postFix) {
|
||||
return $this->tmpBaseDir . '/oc_tmp_' . md5(time() . rand()) . $postFix;
|
||||
return $this->tmpBaseDir . '/oc_tmp_' . md5(time() . rand()) . '.' . $postFix;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue