File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/codeql/ruby/frameworks/rack/internal
test/library-tests/frameworks/rack Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
private import codeql.ruby.ApiGraphs
6
6
private import codeql.ruby.DataFlow
7
7
8
- private predicate mimeTypeMatches ( string ext , string mimeType ) {
8
+ private predicate mimetypeMatches ( string ext , string mimeType ) {
9
9
ext = ".123" and mimeType = "application/vnd.lotus-1-2-3"
10
10
or
11
11
ext = ".3dml" and mimeType = "text/vnd.in3d.3dml"
@@ -1306,6 +1306,6 @@ module Mime {
1306
1306
}
1307
1307
1308
1308
/** Gets the canonical MIME type string returned by this call. */
1309
- string getMimeType ( ) { mimeTypeMatches ( this .getExtension ( ) , result ) }
1309
+ string getMimetype ( ) { mimetypeMatches ( this .getExtension ( ) , result ) }
1310
1310
}
1311
1311
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ query predicate rackResponseContentTypes(
13
13
}
14
14
15
15
query predicate mimetypeCalls ( Rack:: Mime:: MimetypeCall c , string mimetype ) {
16
- mimetype = c .getMimeType ( )
16
+ mimetype = c .getMimetype ( )
17
17
}
18
18
19
19
query predicate redirectResponses ( Rack:: Response:: RedirectResponse resp , DataFlow:: Node location ) {
You can’t perform that action at this time.
0 commit comments