xwikisas / application-office365

Office365 integration
2 stars 2 forks source link

Bypass trusted domain check when using redirect API #14

Closed surli closed 3 years ago

surli commented 3 years ago

XWiki 13.3RC1 and 12.10.7 introduced a security mechanism to avoid redirecting users to untrusted domains. Extension which uses this API can still bypass the check by setting bypassDomainSecurityCheck to true in the execution context before using the redirect API, to avoid problems if administrators don't properly set it up.

polx commented 3 years ago

Fixed in here.