Skip to content

Commit

Permalink
[fc] Repository: plone.namedfile
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2023-09-18T14:04:36+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.namedfile@07a890a

Force download of image scales when inline is not allowed for this mimetype.

We already did this for the `@@display-file` view in 2021, but now it is done for image scales as well.

See [security advisory](GHSA-jj7c-jrv4-c65x).

Files changed:
A news/1.bugfix
M plone/namedfile/scaling.py
M plone/namedfile/tests/test_display_file.py
Repository: plone.namedfile

Branch: refs/heads/master
Date: 2023-09-21T13:22:31+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.namedfile@f0f911f

Merge pull request from GHSA-jj7c-jrv4-c65x

Force download of image scales when inline is not allowed for mime type [master]

Files changed:
A news/1.bugfix
M plone/namedfile/scaling.py
M plone/namedfile/tests/test_display_file.py
  • Loading branch information
mauritsvanrees committed Sep 21, 2023
1 parent d335f51 commit 0cb6672
Showing 1 changed file with 18 additions and 17 deletions.
Loading

0 comments on commit 0cb6672

Please sign in to comment.