Skip to content

Sites with malformed blavatar URLs break Xposts #2982

@guarani

Description

@guarani

Describe the bug
Some sites may have blavatar URLs returned by the xpost endpoint that are malformed, e.g. are wrapped in an <img> tag.

To Reproduce

  1. Find a site that can Xpost to another site that has a blavatar URL that contains an <img> tag
  2. Notice that Xposts fail to load on those sites

Expected behavior
We should handle these situations gracefully and display a placeholder image for those sites.

Smartphone (please complete the following information):

  • Device: iPhone
  • OS: iOS 11
  • Version develop branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions