Skip to content

[Bug]: hidden inputs are not masked when maskAllInputs is enabled #1609

Open
@ababik

Description

@ababik

Preflight Checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

What package is this bug report for?

rrweb

Version

2.0.0-alpha.18

Expected Behavior

All hidden input values are expected to be masked if maskAllInputs option is enabled.

Actual Behavior

The values are recorded as is which is a potential privacy issue.

Steps to Reproduce

  1. Add a hidden input to a page and set some value
  2. Start session recording with maskAllInputs: true
  3. Inspect recorded data and you can see that the value is not masked

Testcase Gist URL

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions