Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e7e0cf5
ruby: add Rack::ResponseNode class
alexrford May 16, 2023
c87c266
ruby: add Rack::ResponseNode#getAStatusCode
alexrford May 16, 2023
f8d2cbb
ruby: rack responses implement are HTTP responses
alexrford May 16, 2023
c3ab867
ruby: start restructuring rack
alexrford May 22, 2023
b2958f8
ruby: rack - add redirect responses
alexrford May 22, 2023
a5a15f3
Ruby: restructure rack model
alexrford May 24, 2023
1966487
ruby: slightly expand a TODO
alexrford May 25, 2023
4905a70
Ruby: update rack test output
alexrford May 25, 2023
40da7d4
ruby: make a predicate private
alexrford May 25, 2023
24635df
ruby: add some qldoc for rack
alexrford May 25, 2023
23e2279
ruby: rack - modelling -> modeling
alexrford May 26, 2023
b62a02f
ruby: remove unused field
alexrford May 26, 2023
57508b2
ruby: Limit rack PotentialResponseNode to things that look like they …
alexrford May 30, 2023
a5d8db6
Ruby: fix qldoc
alexrford Jun 7, 2023
0a7ae58
Ruby: revert to simpler Rack PotentialResponseNode def and use TypeBa…
alexrford Jun 7, 2023
c531b94
Ruby: add a change note for rack redirect support
alexrford Jun 8, 2023
21b4f88
ruby: fix qldoc
alexrford Jun 8, 2023
397a809
Merge remote-tracking branch 'origin/main' into rb/rack-redirect
alexrford Jun 8, 2023
b462004
Ruby: fix use of deprecated predicate
alexrford Jun 8, 2023
af1ca7f
Update ruby/ql/lib/codeql/ruby/frameworks/rack/internal/App.qll
alexrford Jun 13, 2023
977ceb8
Ruby: rack - remove PotentialResponseNode#getAStatusCode
alexrford Jun 13, 2023
75ccbe5
Ruby: rack - use Mimetype rather than MimeType in predicate names for…
alexrford Jun 13, 2023
7aec22c
Ruby: rack - remove MIME modelling
alexrford Jun 20, 2023
8ef8a0d
qlformat
alexrford Jun 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ruby: fix qldoc
  • Loading branch information
alexrford committed Jun 8, 2023
commit 21b4f885a634ca921089e0f79e566a744594785b
1 change: 1 addition & 0 deletions ruby/ql/lib/codeql/ruby/frameworks/rack/internal/Mime.qll
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,7 @@ private predicate mimeTypeMatches(string ext, string mimeType) {
* Provides modeling for the `Mime` component of the `Rack` library.
*/
module Mime {
/** A call to `Rack::Mime.mime_type`. This method maps file extensions to MIME types. */
class MimetypeCall extends DataFlow::CallNode {
Comment thread
alexrford marked this conversation as resolved.
Outdated
MimetypeCall() {
this = API::getTopLevelMember("Rack").getMember("Mime").getAMethodCall("mime_type")
Expand Down