<
From version < 10.1 >
edited by TerraIndex TerraIndex
on 2021/04/30 12:14
To version < 11.1 >
edited by TerraIndex TerraIndex
on 2021/04/30 12:16
>
Change comment: There is no comment for this version

Summary

Details

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