lograge icon indicating copy to clipboard operation
lograge copied to clipboard

Unable to Filter ActionCable Params

Open sirwolfgang opened this issue 2 years ago • 2 comments

I am unable to filter action cable params.

method= path= format= params={"token"=>"...."} controller=ApplicationCable::Connection action=connect status=200 duration=216.54

They come in on the data attribute here but don't seem overloadable in custom_options by setting both params or data

sirwolfgang avatar Aug 02 '22 19:08 sirwolfgang

Want to submit a PR with a patch? This PR may be related https://github.com/roidrage/lograge/pull/310

On Tue, Aug 2, 2022 at 1:31 PM Zane Wolfgang Pickett < @.***> wrote:

I am unable to filter action cable params.

method= path= format= params={"token"=>"...."} controller=ApplicationCable::Connection action=connect status=200 duration=216.54

They come in on the data attribute here https://github.com/roidrage/lograge/blob/master/lib/lograge/rails_ext/action_cable/connection/base.rb#L15 but don't seem overloadable in custom_options by setting both params or data

— Reply to this email directly, view it on GitHub https://github.com/roidrage/lograge/issues/356, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABE2R3U3MPQ6D6H5JCJRPDVXFZSJANCNFSM55MJT76Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

iloveitaly avatar Aug 02 '22 20:08 iloveitaly

I was unable to patch it locally

sirwolfgang avatar Aug 12 '22 22:08 sirwolfgang