[MGNLDMS-239] Bad redirect in DMSDownloadServlet when filename and node name are different Created: 06/Sep/12 Updated: 27/Sep/12 Resolved: 25/Sep/12 |
|
| Status: | Closed |
| Project: | Document Management System (closed) |
| Component/s: | None |
| Affects Version/s: | 1.5 |
| Fix Version/s: | 1.6.4 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Milan Divilek | Assignee: | Milan Divilek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
Reproduce on demoauthor: then got to http://demoauthor.magnolia-cms.com/dms/demo-project/img/logos/magnolia-logo1.png |
| Comments |
| Comment by Jan Haderka [ 17/Sep/12 ] |
|
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. |