Skip to content

Replay: Remove images that are on localhost or private IP #7184

@lucas-zimerman

Description

@lucas-zimerman

Problem Statement

If a given recording captures images containing an URL to localhost or a Private IP, you'll get a CSP or connection refused error on Console Sample: https://sentry-sdks.sentry.io/replays/sentry-capacitor:5e61855fc88345e788a5317684ba22ee/?referrer=%2Fdiscover%2F%3AeventSlug%2F&t=56&t_main=console

image

Solution Brainstorm

Replace the URL containing images from localhost/private IP with a default image or delete it. This is an useful feature for webapps where most of the images are stored locally.

Related to getsentry/sentry-capacitor#318

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions