[MGNLIMG-115] Images are displayed regardless of its extension Created: 04/Sep/13  Updated: 08/Oct/15  Resolved: 13/Sep/13

Status: Closed
Project: Imaging
Component/s: None
Affects Version/s: 2.2.3, 3.0.1
Fix Version/s: 2.2.4, 3.0.2

Type: Bug Priority: Neutral
Reporter: Jaroslav Simak Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
documentation
to be documented by DOCU-476 New validateFileExtension property fo... Closed
relation
is related to MGNLDMS-218 File is displayed regardless of its e... Closed
is related to MGNLDMS-230 File is displayed regardless of its name Closed
is related to MAGNOLIA-5292 Make Magnolia respond to only registe... Closed
is related to MAGNOLIA-6348 Crosscheck mime type of the response ... Closed
supersession
is superseded by MGNLIMG-172 Remove now-redundant validateFileExte... Closed
is superseded by MGNLIMG-173 Remove now-redundant validateFileExte... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Try to open http://localhost:8080/magnoliaAuthor/.imaging/stk/pop/content-small/dms/demo-project/img/bk/Opener/staircase-from-above/document/staircase%20from%20above.html



 Comments   
Comment by Roman Kovařík [ 06/Sep/13 ]

New property serveOnlyForCorrectExtension, defaul value false.
In case of true returns 404 if the request extension does not match outputFormat.
create DOCu ticket after review.

Comment by Roman Kovařík [ 06/Sep/13 ]

Move the configuration under ImagingServlet.

Comment by Jan Haderka [ 10/Sep/13 ]

Sorry to reopen, but can we perhaps rename this property to validateFileExtension ? Seems easier to write and remember.

Generated at Mon Feb 12 02:12:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.