Merge branch 'main' into sqlite
This commit is contained in:
@@ -23,6 +23,29 @@
|
||||
],
|
||||
"note": "No user input allowed"
|
||||
},
|
||||
{
|
||||
"warning_type": "Dangerous Send",
|
||||
"warning_code": 23,
|
||||
"fingerprint": "746ab8227e04231f0002e099e2f670bcc2b8927af85cdc69fab1440002d5c2a6",
|
||||
"check_name": "Send",
|
||||
"message": "User controlled method execution",
|
||||
"file": "app/controllers/events/day_timeline/columns_controller.rb",
|
||||
"line": 19,
|
||||
"link": "https://brakemanscanner.org/docs/warning_types/dangerous_send/",
|
||||
"code": "Current.user.timeline_for(day, :filter => ((Current.user.filters.find(params[:filter_id]) or Current.user.filters.from_params(filter_params)))).public_send(\"#{params[:id]}_column\")",
|
||||
"render_path": null,
|
||||
"location": {
|
||||
"type": "method",
|
||||
"class": "Events::DayTimeline::ColumnsController",
|
||||
"method": "set_column"
|
||||
},
|
||||
"user_input": "params[:id]",
|
||||
"confidence": "High",
|
||||
"cwe_id": [
|
||||
77
|
||||
],
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"warning_type": "Mass Assignment",
|
||||
"warning_code": 70,
|
||||
|
||||
@@ -130,6 +130,9 @@ Rails.application.routes.draw do
|
||||
resources :events, only: :index
|
||||
namespace :events do
|
||||
resources :days
|
||||
namespace :day_timeline do
|
||||
resources :columns, only: :show
|
||||
end
|
||||
end
|
||||
|
||||
resources :qr_codes
|
||||
|
||||
Reference in New Issue
Block a user