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

[4.x] Glide: Output absolute URL when external image has invalid extension #9031

Merged

Conversation

duncanmcclean
Copy link
Member

This pull request fixes an issue with the Glide tag, when using it with an external URL without a valid extension.

For example, with {{ glide src="https://statamic.com/foo" }}, the Glide tag would output /foo, which isn't very useful as a fallback.

Now, with this PR, https://statamic.com/foo will be outputted.

Fixes #5753.

@jackmcdade jackmcdade merged commit ddbbad4 into 4.x Nov 22, 2023
35 checks passed
@jackmcdade jackmcdade deleted the fix/glide-invalid-external-asset-should-return-absolute-url branch November 22, 2023 13:39
@jackmcdade
Copy link
Member

Nice one, works great 👌

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

Successfully merging this pull request may close these issues.

Glide makes external URLs absolute if not resizable
2 participants