Changes for page Redirect

Last modified by Vincent Massol on 2021/12/15 17:22

<
From version < 19.1 >
edited by Vincent Massol
on 2021/12/15 17:21
To version < 20.1
edited by Vincent Massol
on 2021/12/15 17:22
Change comment: There is no comment for this version

Summary

Details

ExtensionCode.ExtensionClass[0]
Description
... ... @@ -1,7 +1,9 @@
1 1  Once the snippet is added to a page, if you come back to that page in "view" mode you will be automatically sent to the page defined between the brackets.
2 2  
3 3  {{warning}}
4 -Starting with XWiki 13.3-rc-1 / 12.10.7, if the URL passed to ##sendRedirect()## is absolute, [[you'll need to add that domain to the list of allowed domains>>xwiki:Documentation.AdminGuide.Configuration.WebHome||anchor="HTrusteddomains"]]. Relative URLs, such as those returned by ##$xwiki.getURL()## are fine.
4 +{{version since="13.3RC1,12.10.7"}}
5 +If the URL passed to ##sendRedirect()## is absolute, [[you'll need to add that domain to the list of allowed domains>>xwiki:Documentation.AdminGuide.Configuration.WebHome||anchor="HTrusteddomains"]]. Relative URLs, such as those returned by ##$xwiki.getURL()## are fine.
6 +{{/version}}
5 5  {{/warning}}
6 6  
7 7  == Examples ==
license
... ... @@ -1,0 +1,1 @@
1 +LGPL
contributors
... ... @@ -1,0 +1,1 @@
1 +Guillaume Lerouge
supported
... ... @@ -1,0 +1,1 @@
1 +0

Get Connected