Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sites with malformed blavatar URLs break Xposts #2982

Open
guarani opened this issue Jan 8, 2021 · 0 comments
Open

Sites with malformed blavatar URLs break Xposts #2982

guarani opened this issue Jan 8, 2021 · 0 comments

Comments

@guarani
Copy link
Contributor

guarani commented Jan 8, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant