Skip to content

Generating a share link can cause QR code rendering to fail #316

@achingbrain

Description

@achingbrain

The QR code renderer has a size limit based on the size of the image.

If we append the browsers' multiaddrs to the link it can exceed this limit (due to multiple relay addresses, certificate fingerprints, etc) and cause the page to crash.

Increasing the allowed size of the QR code fixes this but the QR code becomes illegible and it may continue to be an issue depending on the relay addresses the browser manages to acquire.

Instead we should publish the provider record for uploaded files (either manually or via a delegate) and let remote peers look up the browser address instead of appending it to the URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions