Do not allow selection of invalid redirection targets (MGNLSTK-1453)

[MGNLSTK-1520] Support external targets Created: 19/Jan/16  Updated: 05/Jul/18  Resolved: 02/Jul/18

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.

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