Skip to content

Commit c8779d0

Browse files
committed
Fix another test
No change in alerts, just 3 extra nodes.
1 parent 28160e4 commit c8779d0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

go/ql/test/library-tests/semmle/go/frameworks/Beego/ReflectedXss.expected

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ edges
4747
| test.go:246:15:246:36 | call to GetString | test.go:249:21:249:29 | untrusted |
4848
| test.go:259:23:259:44 | call to GetCookie | test.go:259:16:259:45 | type conversion |
4949
| test.go:270:62:270:83 | call to GetCookie | test.go:270:55:270:84 | type conversion |
50+
| test.go:275:2:275:40 | ... := ...[0] | test.go:278:21:278:28 | index expression |
5051
| test.go:275:2:275:40 | ... := ...[0] | test.go:283:44:283:60 | selection of Filename |
5152
| test.go:275:2:275:40 | ... := ...[0] | test.go:284:38:284:49 | genericFiles |
5253
| test.go:275:2:275:40 | ... := ...[0] | test.go:285:37:285:48 | genericFiles |
@@ -61,6 +62,8 @@ edges
6162
| test.go:275:2:275:40 | ... := ...[0] | test.go:301:39:301:50 | genericFiles |
6263
| test.go:275:2:275:40 | ... := ...[0] | test.go:302:40:302:51 | genericFiles |
6364
| test.go:275:2:275:40 | ... := ...[0] | test.go:303:39:303:50 | genericFiles |
65+
| test.go:276:2:276:13 | definition of genericFiles [array] | test.go:297:51:297:62 | genericFiles [array] |
66+
| test.go:278:21:278:28 | index expression | test.go:276:2:276:13 | definition of genericFiles [array] |
6467
| test.go:283:44:283:60 | selection of Filename | test.go:283:21:283:61 | call to GetDisplayString |
6568
| test.go:284:21:284:53 | call to SliceChunk | test.go:284:21:284:92 | selection of Filename |
6669
| test.go:284:38:284:49 | genericFiles | test.go:284:21:284:53 | call to SliceChunk |
@@ -77,6 +80,7 @@ edges
7780
| test.go:296:21:296:61 | call to SliceMerge | test.go:296:21:296:97 | selection of Filename |
7881
| test.go:296:49:296:60 | genericFiles | test.go:296:21:296:61 | call to SliceMerge |
7982
| test.go:297:21:297:66 | call to SlicePad | test.go:297:21:297:102 | selection of Filename |
83+
| test.go:297:51:297:62 | genericFiles [array] | test.go:297:51:297:65 | index expression |
8084
| test.go:297:51:297:65 | index expression | test.go:297:21:297:66 | call to SlicePad |
8185
| test.go:298:21:298:66 | call to SlicePad | test.go:298:21:298:102 | selection of Filename |
8286
| test.go:298:36:298:47 | genericFiles | test.go:298:21:298:66 | call to SlicePad |
@@ -177,6 +181,8 @@ nodes
177181
| test.go:270:55:270:84 | type conversion | semmle.label | type conversion |
178182
| test.go:270:62:270:83 | call to GetCookie | semmle.label | call to GetCookie |
179183
| test.go:275:2:275:40 | ... := ...[0] | semmle.label | ... := ...[0] |
184+
| test.go:276:2:276:13 | definition of genericFiles [array] | semmle.label | definition of genericFiles [array] |
185+
| test.go:278:21:278:28 | index expression | semmle.label | index expression |
180186
| test.go:283:21:283:61 | call to GetDisplayString | semmle.label | call to GetDisplayString |
181187
| test.go:283:44:283:60 | selection of Filename | semmle.label | selection of Filename |
182188
| test.go:284:21:284:53 | call to SliceChunk | semmle.label | call to SliceChunk |
@@ -202,6 +208,7 @@ nodes
202208
| test.go:296:49:296:60 | genericFiles | semmle.label | genericFiles |
203209
| test.go:297:21:297:66 | call to SlicePad | semmle.label | call to SlicePad |
204210
| test.go:297:21:297:102 | selection of Filename | semmle.label | selection of Filename |
211+
| test.go:297:51:297:62 | genericFiles [array] | semmle.label | genericFiles [array] |
205212
| test.go:297:51:297:65 | index expression | semmle.label | index expression |
206213
| test.go:298:21:298:66 | call to SlicePad | semmle.label | call to SlicePad |
207214
| test.go:298:21:298:102 | selection of Filename | semmle.label | selection of Filename |

0 commit comments

Comments
 (0)