File tree Expand file tree Collapse file tree
go/ql/test/library-tests/semmle/go/frameworks/Twirp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,16 +6,16 @@ passingPositiveTests
66| PASSED | message | rpc/notes/service.pb.go:86:32:86:47 | comment |
77| PASSED | message | rpc/notes/service.pb.go:133:33:133:48 | comment |
88| PASSED | message | rpc/notes/service.pb.go:171:33:171:48 | comment |
9- | PASSED | request | server/main.go:19:111:19:140 | comment |
9+ | PASSED | request | server/main.go:19:111:19:172 | comment |
1010| PASSED | request | server/main.go:40:126:40:155 | comment |
1111| PASSED | serverConstructor | rpc/notes/service.twirp.go:334:81:334:106 | comment |
1212| PASSED | serviceClient | rpc/notes/service.twirp.go:44:42:44:63 | comment |
1313| PASSED | serviceClient | rpc/notes/service.twirp.go:183:38:183:59 | comment |
1414| PASSED | serviceInterface | rpc/notes/service.twirp.go:34:31:34:55 | comment |
1515| PASSED | serviceServer | rpc/notes/service.twirp.go:322:34:322:55 | comment |
16- | PASSED | ssrf | server/main.go:30:97:30:119 | comment |
16+ | PASSED | ssrf | server/main.go:30:97:30:150 | comment |
1717| PASSED | ssrfSink | client/main.go:12:89:12:105 | comment |
18- | PASSED | ssrfSink | server/main.go:30:97:30:119 | comment |
18+ | PASSED | ssrfSink | server/main.go:30:97:30:150 | comment |
1919| PASSED | ssrfSink | server/main.go:31:97:31:120 | comment |
2020failingPositiveTests
2121passingNegativeTests
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import semmle.go.security.RequestForgery
66class InlineTest extends LineComment {
77 string tests ;
88
9- InlineTest ( ) { tests = this .getText ( ) .regexpCapture ( "\\s*test: (.*)" , 1 ) }
9+ InlineTest ( ) { tests = this .getText ( ) .regexpCapture ( ".*test: \\s*(.*)" , 1 ) }
1010
1111 string getPositiveTest ( ) {
1212 result = tests .trim ( ) .splitAt ( "," ) .trim ( ) and not result .matches ( "!%" )
You can’t perform that action at this time.
0 commit comments