Closed nicoayala closed 1 year ago
The failing check is rubocop in:
Offenses:
lib/rails_admin/extensions/paper_trail/auditing_adapter.rb:149:28: C: [Correctable] Style/RedundantSelfAssignmentBranch: Remove the self-assignment branch.
versions = all ? versions : versions.send(Kaminari.config.page_method_name, current_page).per(per_page)
^^^^^^^^
444 files inspected, 1 offense detected, 1 offense autocorrectable
Error: Process completed with exit code 1.
Is this being addressed? Let me know how should I proceed
Merged in. Thank you for the fix!
The Rubocop failure was already addressed in the master: f06df8ff7f9890d7cf60fd4b724a4d92f55e94ab
Context
An internal team audits the Maxwell Rails apps occasionally, and in the last run, they discovered a vulnerability. Please take a look at the details bellow:
Solution
Validate the URL starts with the ~
request.host
~request.base_url