Branch: refs/heads/master
Home:
https://github.com/xwiki-contrib/redirect
Commit: 0d325d545ca3319d5a9796e8972146f878d43fa3
https://github.com/xwiki-contrib/redirect/commit/0d325d545ca3319d5a9796e897…
Author: Josué Tille <josue.tille(a)xwiki.com>
Date: 2025-01-07 (Tue, 07 Jan 2025)
Changed paths:
M redirect-macro/src/main/resources/XWiki/Macros/Redirect.xml
Log Message:
-----------
REDIRECT-2: User gets navigated to the provided redirection URL while in the WYSIWYG
editor
* Imrove detection of edit mode
* Use http redirect when delay=0 as in this case we don't need to handle the case of
we switch to the wysiwyg before to get redirected
* Use javascript to redirect because for now it's the only way I found to cancel a
planed redirection.
* Improve security:
* add escaping for rendered content
* Don't allow redirection if it target domain not allowed and show an error
instead.
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki-contrib/redirect/settings/notifications