Skip to content

Commit

Permalink
mitigate click jacking in example html (#28)
Browse files Browse the repository at this point in the history
* mitigate click jacking in example html

Co-authored-by: o.omahony <o.omahony@f5.com>
  • Loading branch information
oliveromahony and o.omahony authored Sep 1, 2022
1 parent 32d34d2 commit 934bb58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if ( self === top ) {
document.documentElement.style.display = 'block';
} else {
top.location = self.location;
top.location = encodeURI(self.location);
}
</script>
</head>
Expand Down

0 comments on commit 934bb58

Please sign in to comment.