[MGNLSTK-248] Link from Linklist will add.html to image download Created: 15/Jan/09  Updated: 23/Jan/13  Resolved: 16/Mar/09

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0

Type: Bug Priority: Blocker
Reporter: Boris Kraft Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-2542 Cleanup implementation of link resolving Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

If you create a linklist and add a link to an image (DMS), then the resulting link will end with .html, e.g. http://dev.magnolia-cms.com/magnolia-me-demo/dms/demoImg/dummy-460_sec1_art1.html . When downloading the actual filename (with Safari at least) will add a .jpeg, in the above example the filename would become dummy-460_sec1_art1.html.jpeg

I think it should not add .html if it is not an HTML page we link to.



 Comments   
Comment by Christian Ringele [ 16/Mar/09 ]

This was a problem of the creatLink method of the link resolving api in the core:
info.magnolia.link

Problem is sovlved, link form dms documents get resolved correctly.

Comment by Jan Haderka [ 16/Mar/09 ]

Let's try to keep related issues linked as much as possible

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