Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 59386be

Browse filesBrowse files
committed
Ruby: Update XSS test fixture
1 parent 6486302 commit 59386be
Copy full SHA for 59386be

File tree

Expand file treeCollapse file tree

1 file changed

+13
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+13
-2
lines changed

‎ruby/ql/test/query-tests/security/cwe-079/StoredXSS.expected

Copy file name to clipboardExpand all lines: ruby/ql/test/query-tests/security/cwe-079/StoredXSS.expected
+13-2Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
edges
22
| app/controllers/foo/stores_controller.rb:8:5:8:6 | dt | app/controllers/foo/stores_controller.rb:9:22:9:23 | dt |
3+
| app/controllers/foo/stores_controller.rb:8:5:8:6 | dt | app/controllers/foo/stores_controller.rb:13:55:13:56 | dt |
34
| app/controllers/foo/stores_controller.rb:8:10:8:29 | call to read | app/controllers/foo/stores_controller.rb:8:5:8:6 | dt |
4-
| app/controllers/foo/stores_controller.rb:9:22:9:23 | dt | app/controllers/foo/stores_controller.rb:13:55:13:56 | dt |
5-
| app/controllers/foo/stores_controller.rb:9:22:9:23 | dt | app/views/foo/stores/show.html.erb:37:3:37:16 | @instance_text |
5+
| app/controllers/foo/stores_controller.rb:9:5:9:18 | [post] self [@instance_text] | app/controllers/foo/stores_controller.rb:13:5:13:78 | self [@instance_text] |
6+
| app/controllers/foo/stores_controller.rb:9:22:9:23 | dt | app/controllers/foo/stores_controller.rb:9:5:9:18 | [post] self [@instance_text] |
7+
| app/controllers/foo/stores_controller.rb:13:5:13:78 | self [@instance_text] | app/views/foo/stores/show.html.erb:2:5:90:48 | self in show.html.erb [@instance_text] |
68
| app/controllers/foo/stores_controller.rb:13:55:13:56 | dt | app/views/foo/stores/show.html.erb:2:9:2:20 | call to display_text |
79
| app/controllers/foo/stores_controller.rb:13:55:13:56 | dt | app/views/foo/stores/show.html.erb:5:9:5:21 | call to local_assigns [element :display_text] |
810
| app/controllers/foo/stores_controller.rb:13:55:13:56 | dt | app/views/foo/stores/show.html.erb:9:9:9:21 | call to local_assigns [element :display_text] |
@@ -13,9 +15,13 @@ edges
1315
| app/views/foo/bars/_widget.html.erb:8:9:8:21 | call to local_assigns [element :display_text, element] | app/views/foo/bars/_widget.html.erb:8:9:8:36 | ...[...] [element] |
1416
| app/views/foo/bars/_widget.html.erb:8:9:8:21 | call to local_assigns [element :display_text] | app/views/foo/bars/_widget.html.erb:8:9:8:36 | ...[...] |
1517
| app/views/foo/bars/_widget.html.erb:8:9:8:36 | ...[...] [element] | app/views/foo/bars/_widget.html.erb:8:9:8:36 | ...[...] |
18+
| app/views/foo/stores/show.html.erb:2:5:90:48 | self in show.html.erb [@instance_text] | app/views/foo/stores/show.html.erb:37:3:37:16 | self [@instance_text] |
19+
| app/views/foo/stores/show.html.erb:2:5:90:48 | self in show.html.erb [@instance_text] | app/views/foo/stores/show.html.erb:40:5:40:89 | self [@instance_text] |
1620
| app/views/foo/stores/show.html.erb:5:9:5:21 | call to local_assigns [element :display_text] | app/views/foo/stores/show.html.erb:5:9:5:36 | ...[...] |
1721
| app/views/foo/stores/show.html.erb:9:9:9:21 | call to local_assigns [element :display_text] | app/views/foo/stores/show.html.erb:9:9:9:26 | ...[...] |
1822
| app/views/foo/stores/show.html.erb:14:15:14:27 | call to local_assigns [element :display_text] | app/views/foo/stores/show.html.erb:14:15:14:32 | ...[...] |
23+
| app/views/foo/stores/show.html.erb:37:3:37:16 | self [@instance_text] | app/views/foo/stores/show.html.erb:37:3:37:16 | @instance_text |
24+
| app/views/foo/stores/show.html.erb:40:5:40:89 | self [@instance_text] | app/views/foo/stores/show.html.erb:2:5:90:48 | self in show.html.erb [@instance_text] |
1925
| app/views/foo/stores/show.html.erb:40:64:40:87 | ... + ... | app/views/foo/bars/_widget.html.erb:5:9:5:20 | call to display_text |
2026
| app/views/foo/stores/show.html.erb:40:64:40:87 | ... + ... | app/views/foo/bars/_widget.html.erb:8:9:8:21 | call to local_assigns [element :display_text] |
2127
| app/views/foo/stores/show.html.erb:40:64:40:87 | ... + ... [element] | app/views/foo/bars/_widget.html.erb:5:9:5:20 | call to display_text [element] |
@@ -26,14 +32,17 @@ edges
2632
nodes
2733
| app/controllers/foo/stores_controller.rb:8:5:8:6 | dt | semmle.label | dt |
2834
| app/controllers/foo/stores_controller.rb:8:10:8:29 | call to read | semmle.label | call to read |
35+
| app/controllers/foo/stores_controller.rb:9:5:9:18 | [post] self [@instance_text] | semmle.label | [post] self [@instance_text] |
2936
| app/controllers/foo/stores_controller.rb:9:22:9:23 | dt | semmle.label | dt |
37+
| app/controllers/foo/stores_controller.rb:13:5:13:78 | self [@instance_text] | semmle.label | self [@instance_text] |
3038
| app/controllers/foo/stores_controller.rb:13:55:13:56 | dt | semmle.label | dt |
3139
| app/views/foo/bars/_widget.html.erb:5:9:5:20 | call to display_text | semmle.label | call to display_text |
3240
| app/views/foo/bars/_widget.html.erb:5:9:5:20 | call to display_text [element] | semmle.label | call to display_text [element] |
3341
| app/views/foo/bars/_widget.html.erb:8:9:8:21 | call to local_assigns [element :display_text, element] | semmle.label | call to local_assigns [element :display_text, element] |
3442
| app/views/foo/bars/_widget.html.erb:8:9:8:21 | call to local_assigns [element :display_text] | semmle.label | call to local_assigns [element :display_text] |
3543
| app/views/foo/bars/_widget.html.erb:8:9:8:36 | ...[...] | semmle.label | ...[...] |
3644
| app/views/foo/bars/_widget.html.erb:8:9:8:36 | ...[...] [element] | semmle.label | ...[...] [element] |
45+
| app/views/foo/stores/show.html.erb:2:5:90:48 | self in show.html.erb [@instance_text] | semmle.label | self in show.html.erb [@instance_text] |
3746
| app/views/foo/stores/show.html.erb:2:9:2:20 | call to display_text | semmle.label | call to display_text |
3847
| app/views/foo/stores/show.html.erb:5:9:5:21 | call to local_assigns [element :display_text] | semmle.label | call to local_assigns [element :display_text] |
3948
| app/views/foo/stores/show.html.erb:5:9:5:36 | ...[...] | semmle.label | ...[...] |
@@ -43,6 +52,8 @@ nodes
4352
| app/views/foo/stores/show.html.erb:14:15:14:32 | ...[...] | semmle.label | ...[...] |
4453
| app/views/foo/stores/show.html.erb:32:3:32:14 | call to display_text | semmle.label | call to display_text |
4554
| app/views/foo/stores/show.html.erb:37:3:37:16 | @instance_text | semmle.label | @instance_text |
55+
| app/views/foo/stores/show.html.erb:37:3:37:16 | self [@instance_text] | semmle.label | self [@instance_text] |
56+
| app/views/foo/stores/show.html.erb:40:5:40:89 | self [@instance_text] | semmle.label | self [@instance_text] |
4657
| app/views/foo/stores/show.html.erb:40:64:40:87 | ... + ... | semmle.label | ... + ... |
4758
| app/views/foo/stores/show.html.erb:40:64:40:87 | ... + ... [element] | semmle.label | ... + ... [element] |
4859
| app/views/foo/stores/show.html.erb:40:76:40:87 | call to display_text | semmle.label | call to display_text |

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.