Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
Merge branch 'release/1.0.18'
Browse files Browse the repository at this point in the history
  • Loading branch information
malte-christian committed Jan 20, 2020
2 parents 8fc2c99 + 9f1c039 commit 95446c5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ language: php
sudo: false

php:
- 5.5
- 5.6
- 7.0

Expand All @@ -19,4 +18,4 @@ script:
matrix:
allow_failures:
- php: 7.0
fast_finish: true
fast_finish: true
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 1.0.18 (January 20, 2020)

### Security
- CSRF vulnerability in Finder, discovered by Christian Bortone

## 1.0.17 (July 11, 2019)

### Added
Expand Down
2 changes: 1 addition & 1 deletion app/system/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

'application' => [

'version' => '1.0.17'
'version' => '1.0.18'

],

Expand Down
9 changes: 6 additions & 3 deletions app/system/modules/finder/src/Controller/FinderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function indexAction($path)
}

/**
* @Request({"name"})
* @Request({"name"}, csrf=true)
*/
public function createFolderAction($name)
{
Expand Down Expand Up @@ -91,7 +91,7 @@ public function createFolderAction($name)
}

/**
* @Request({"oldname", "newname"})
* @Request({"oldname", "newname"}, csrf=true)
*/
public function renameAction($oldname, $newname)
{
Expand All @@ -115,7 +115,7 @@ public function renameAction($oldname, $newname)
}

/**
* @Request({"names": "array"})
* @Request({"names": "array"}, csrf=true)
*/
public function removeFilesAction($names)
{
Expand All @@ -142,6 +142,9 @@ public function removeFilesAction($names)
return $this->success(__('Removed selected.'));
}

/**
* @Request(csrf=true)
*/
public function uploadAction()
{
try {
Expand Down

0 comments on commit 95446c5

Please sign in to comment.