[ 
http://jira.magnolia-cms.com/browse/MGNLDMS-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Haderka reopened MGNLDMS-239:
---------------------------------


Naming of variables in the servlet is confusing. It's not really an extension 
what you are looking for. What you are looking is validating the path and right 
now every path that contains dot in a name is invalid. It might be best to 
extract this piece of code in a {{protected boolean isValidPath(String path)}} 
method so it's clear what you do and anyone can change that behaviour should 
they need so.

> Bad redirect in DMSDownloadServlet when filename and node name are different
> ----------------------------------------------------------------------------
>
>                 Key: MGNLDMS-239
>                 URL: http://jira.magnolia-cms.com/browse/MGNLDMS-239
>             Project: Magnolia DMS Module
>          Issue Type: Bug
>    Affects Versions: 1.5
>            Reporter: Milan Divilek
>            Assignee: Milan Divilek
>             Fix For: 1.6.4
>
>
> Reproduce on demoauthor:
> In dms /demo-project/img/logos/ rename URL for magnolia-logo to magnolia-logo1
> then got to 
> http://demoauthor.magnolia-cms.com/dms/demo-project/img/logos/magnolia-logo1.png
> DMSDownloadServlet then redirect you to 
> http://demoauthor.magnolia-cms.com/dms/demo-project/img/logos/magnolia-logo1.png/magnolia-logo.png

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to