silverstripe-framework/tests/RedirectorPageTest.yml
Sam Minnee 866853f31a BUGFIX: Improved RedirectorPage's handling of invalid configuration options to prevent infinite loops and segfaults
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63939 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-09 01:46:17 +00:00

35 lines
874 B
YAML

Page:
dest:
Title: Redirection Dest
URLSegment: redirection-dest
RedirectorPage:
goodexternal:
Title: Good External
URLSegment: good-external
RedirectionType: External
ExternalURL: http://www.google.com
goodinternal:
Title: Good Internal
URLSegment: good-internal
RedirectionType: Internal:
LinkTo: =>Page.dest
badexternal:
Title: Bad External
RedirectionType: External
URLSegment: bad-external
badinternal:
Title: Bad Internal
RedirectionType: Internal
URLSegment: bad-internal
reflexive:
Title: Reflexive
RedirectionType: Internal
LinkTo: =>RedirectorPage.reflexive
URLSegment: reflexive
transitive:
Title: Transitive
RedirectionType: Internal
LinkTo: =>RedirectorPage.goodinternal
URLSegment: transitive