Skip to content

Commit

Permalink
Merge pull request #10290 from ignasi35/minor-docs-improvement
Browse files Browse the repository at this point in the history
Improve Release27 docs wrt twirl
  • Loading branch information
mergify[bot] committed May 19, 2020
2 parents 2fa17aa + 9fe8865 commit 3fe877c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -670,3 +670,7 @@ Until Play 2.6 uploading an empty file via the `multipart/form-data` encoding wa
Hence when retrieving an uploaded file via the [[Scala API|ScalaFileUpload#Uploading-files-in-a-form-using-multipart/form-data]] or the [[Java API|JavaFileUpload#Uploading-files-in-a-form-using-multipart/form-data]] it will never be empty.

> **Note:** The same logic applies if the `filename` header of a `multipart/form-data` file upload part is empty - even when the file itself would not empty.
### Twirl syntax parsing improvements

In order to improve the parsing of Twirl templates, some code that was valid until now will no longer be supported. See [the issue](https://github.com/playframework/twirl/issues/222) for more details.

0 comments on commit 3fe877c

Please sign in to comment.