Skip to content

[Action Cable] Stop logging filtered params#47300

Merged
rafaelfranca merged 1 commit intomainfrom
rm-redo-39267
Feb 8, 2023
Merged

[Action Cable] Stop logging filtered params#47300
rafaelfranca merged 1 commit intomainfrom
rm-redo-39267

Conversation

@rafaelfranca
Copy link
Copy Markdown
Member

@rafaelfranca rafaelfranca commented Feb 7, 2023

Redo #39267

Fixes #25088

Co-Autored-By: Kartikey Tanna tannakartikey@gmail.com

@rails-bot rails-bot bot added the actioncable label Feb 7, 2023
Copy link
Copy Markdown
Contributor

@pboling pboling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Co-Autored-By: Kartikey Tanna <tannakartikey@gmail.com>
@hahmed
Copy link
Copy Markdown
Contributor

hahmed commented Feb 15, 2023

This breaks a very simple action cable test for example:

require "test_helper"

class RandomChannelTest < ActionCable::Channel::TestCase
  test "subscribes" do
    subscribe
    assert subscription.confirmed?
  end
end

Maybe this is because the TestServer is part of the tests dir. Not sure if that should be moved into lib (alongside the success adapter). This issue has more details #47377.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ActionCable] No way to filter out any sensitive data which may be passed as an argument to the remote procedure over ws protocol..

4 participants