-
Improvement
-
Resolution: Fixed
-
Neutral
-
2.0.6
-
None
-
None
-
-
Empty show more show less
-
Sprint 14
Prevent flooding the system with multiple calls to .imaging:
/magnolia/.imaging/focalpoint/999x999/dam/jcr:c322407c-02b7-4fbb-ab8f-8a61dbc349a2/Carrousel.jpg
A hacker would call this url incrementing "999x999" from 1 to infinite.
So that the imaging workspace would overflow or would request a high CPU usage from cropping the images.
Notes:
We should configure different breakpoints (bp) and the imaging/focal point module should return the resources that equals is is just above this bp.
For example, we could configure:
<=400 returns 400px
<=800 returns 800px
<=1024 returns 1024px
<=1200 returns 1200px
<=1600 returns 1600px (this is the last the the greatest)
Acceptance criteria