File tree Expand file tree Collapse file tree
javascript/ql/test/library-tests/frameworks/Angular2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,5 +19,6 @@ export class Source {
1919
2020 methodOnComponent ( x ) {
2121 this . sanitizer . bypassSecurityTrustHtml ( x ) ;
22+ this . elementRef . nativeElement . innerHTML = x ;
2223 }
2324}
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ taintFlow
3131| source.component.ts:15:22:15:29 | source() | sink.component.ts:27:48:27:57 | this.sink6 |
3232| source.component.ts:15:22:15:29 | source() | sink.component.ts:29:48:29:57 | this.sink8 |
3333| 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 |
3435| source.component.ts:16:33:16:40 | source() | sink.component.ts:22:48:22:57 | this.sink1 |
3536testAttrSourceLocation
3637| 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