Skip to content

Commit

Permalink
Merge branch 'release/2.0.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 16, 2018
2 parents 69152d7 + 1ff5999 commit f799b35
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,13 @@
<a name="2.0.9"></a>
## [2.0.9](https://github.com/adonisjs/adonis-bodyparser/compare/v2.0.8...v2.0.9) (2018-10-16)


### Bug Fixes

* **multipart:** do not process file when filename is empty ([63a113d](https://github.com/adonisjs/adonis-bodyparser/commit/63a113d))



<a name="2.0.8"></a>
## [2.0.8](https://github.com/adonisjs/adonis-bodyparser/compare/v2.0.7...v2.0.8) (2018-10-16)

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@adonisjs/bodyparser",
"version": "2.0.8",
"version": "2.0.9",
"description": "Body parser middleware for Adonis 4.0 and above",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/Multipart/index.js
Expand Up @@ -122,7 +122,7 @@ class Multipart {
/**
* No one wants to read this file, so simply advance it
*/
if (!handler || !handler.callback) {
if (!handler || !handler.callback || !part.filename) {
return Promise.resolve()
}

Expand Down

0 comments on commit f799b35

Please sign in to comment.