Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 457412a

Browse files
chalinfilipesilva
authored andcommitted
example(security): display video URL (#3122)
Simplify the example by just displaying the videoUrl (the string value of which is contained in `dangerousVideoUrl`). We don’t need the URL to be changeable anymore than we need the dangerousUrl to be editable. Fixes #3121
1 parent a258420 commit 457412a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/docs/_examples/security/ts/app/bypass-security.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h4>A trusted URL:</h4>
1010

1111
<!--#docregion iframe -->
1212
<h4>Resource URL:</h4>
13-
<p><label>Showing: <input (input)="updateVideoUrl($event.target.value)"></label></p>
13+
<p>Showing: {{dangerousVideoUrl}}</p>
1414
<p>Trusted:</p>
1515
<iframe class="e2e-iframe-trusted-src" width="640" height="390" [src]="videoUrl"></iframe>
1616
<p>Untrusted:</p>

0 commit comments

Comments
 (0)