Skip to content

Commit

Permalink
fix vulns
Browse files Browse the repository at this point in the history
  • Loading branch information
baldarn committed Aug 24, 2024
1 parent e9dcc8c commit 7c6a038
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ GEM
responders (3.1.1)
actionpack (>= 5.2)
railties (>= 5.2)
rexml (3.3.4)
rexml (3.3.6)
strscan
rouge (4.3.0)
rqrcode (2.2.0)
Expand Down
34 changes: 0 additions & 34 deletions config/brakeman.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,40 +22,6 @@
915
],
"note": ""
},
{
"warning_type": "Dynamic Render Path",
"warning_code": 15,
"fingerprint": "98eeb33f9eb07816fb55dafdc27c35da8afe256aae03213adf4fec346877b886",
"check_name": "Render",
"message": "Render path contains parameter value",
"file": "app/views/events/edit.html.erb",
"line": 1,
"link": "https://brakemanscanner.org/docs/warning_types/dynamic_render_path/",
"code": "render(action => current_user.club.events.find(params[:id]), {})",
"render_path": [
{
"type": "controller",
"class": "EventsController",
"method": "edit",
"line": 18,
"file": "app/controllers/events_controller.rb",
"rendered": {
"name": "events/edit",
"file": "app/views/events/edit.html.erb"
}
}
],
"location": {
"type": "template",
"template": "events/edit"
},
"user_input": "params[:id]",
"confidence": "Weak",
"cwe_id": [
22
],
"note": ""
}
],
"updated": "2024-08-20 10:50:17 +0200",
Expand Down

0 comments on commit 7c6a038

Please sign in to comment.