File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
javascript/ql/test/library-tests/frameworks/Angular2 Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,6 @@ export class Source {
19
19
20
20
methodOnComponent ( x ) {
21
21
this . sanitizer . bypassSecurityTrustHtml ( x ) ;
22
+ this . elementRef . nativeElement . innerHTML = x ;
22
23
}
23
24
}
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ taintFlow
31
31
| source.component.ts:15:22:15:29 | source() | sink.component.ts:27:48:27:57 | this.sink6 |
32
32
| source.component.ts:15:22:15:29 | source() | sink.component.ts:29:48:29:57 | this.sink8 |
33
33
| source.component.ts:15:22:15:29 | source() | source.component.ts:21:48:21:48 | x |
34
+ | source.component.ts:15:22:15:29 | source() | source.component.ts:22:51:22:51 | x |
34
35
| source.component.ts:16:33:16:40 | source() | sink.component.ts:22:48:22:57 | this.sink1 |
35
36
testAttrSourceLocation
36
37
| inline.component.ts:8:43:8:60 | [testAttr]=taint | inline.component.ts:8:55:8:59 | <toplevel> |
You can’t perform that action at this time.
0 commit comments