Do not allow selection of invalid redirection targets
(MGNLSTK-1453)
|
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | templates |
| Affects Version/s: | None |
| Fix Version/s: | 2.8.9 |
| Type: | Sub-task | Priority: | Neutral |
| Reporter: | Jan Christian Haddorp | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Date of First Response: | |
| Visible to: |
ameyer, Roland Aust, Werner Rauch
|
| Description |
|
With the new validator it seems not being possibel to configure redirects to external targets. There should be a flag or two link fields (internal and external). Or the validator should handle it internally. |
| Comments |
| Comment by Jan Christian Haddorp [ 19/Jan/16 ] |
|
Perhaps add something like this to the isValidValue method... if (!isInternalPath(targetPagePath)) { return true; } |
| Comment by Jan Haderka [ 02/Jul/18 ] |
|
STK have been deprecated in September 2017. As part of this project nearing end-of-life, we are not planning to fix any of the existing issues except for the critical security issues. For more details, please consult documentation. |