<
From version < 14.1 >
edited by TerraIndex TerraIndex
on 2021/05/04 16:42
To version < 12.1 >
edited by TerraIndex TerraIndex
on 2021/04/30 12:19
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,10 +1,20 @@
1 -= Welcome to Terrapedia =
1 + {{box cssClass="floatinginfobox"}}{{velocity}}
2 +{{html clean="false"}}
3 +## Chrome's XSS Auditor blocks the preview action if:
4 +## * the submitted content has an iframe with an external URL
5 +## * the preview action displays the submitted iframe
6 +## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML.
7 +## See XWIKI-14818: Preview triggers ERR_BLOCKED_BY_XSS_AUDITOR in Chrome
8 +#set ($iframe = 'iframe')
9 +<$iframe src="https://www.youtube.com/watch?v=cv1mZQgjS0k&t=6s" title="YouTube video of XWiki" role="presentation" allowfullscreen></$iframe>
10 +{{/html}}
11 +{{/velocity}}{{/box}}
2 2  
3 -----
13 += Welcome to Terrapedia =
4 4  
15 +{{notifications/}}
16 +
5 5  (% class="xform" %)
6 6  (((
7 -{{wikis/}}
8 -
9 9  
10 10  )))
TerraIndex
asd