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

301 Redirects Break SVG Image Elements #24

Open
BooDoo opened this issue Feb 4, 2023 · 2 comments
Open

301 Redirects Break SVG Image Elements #24

BooDoo opened this issue Feb 4, 2023 · 2 comments
Assignees
Labels
BACKEND BRIDGE for the SEND_STATUS submodule headless convert-svg and/or puppeteer issues help wanted Extra attention is needed

Comments

@BooDoo
Copy link
Owner

BooDoo commented Feb 4, 2023

Most likely to occur when an SVG composition has an image embed to https://imgur.com/someURL as these all return 301 - Permanently Moved status and instead of shunting over to https://i.imgur.com/someURL the headless browser fails to load the resource at all.

This can be worked around by using the i.imgur.com URL as the source initially, but an HTTP 301 really should be handled more gracefully than this...

in-browser Frontend preview works fine, of course, but it fails in puppeteer/headless Chromium when attempting to post.

@BooDoo BooDoo added help wanted Extra attention is needed BACKEND BRIDGE for the SEND_STATUS submodule headless convert-svg and/or puppeteer issues labels Feb 4, 2023
@BooDoo BooDoo self-assigned this Feb 4, 2023
@BooDoo
Copy link
Owner Author

BooDoo commented Feb 4, 2023

Bug report credit: @[email protected]
Originating bot: https://botsin.space/@nonarygame

@BooDoo
Copy link
Owner Author

BooDoo commented Feb 4, 2023

(Tangentially) related issue:
neocotic/convert-svg#42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BACKEND BRIDGE for the SEND_STATUS submodule headless convert-svg and/or puppeteer issues help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant