statamic / v2-hub

Statamic 2 - Feature Requests and Bug Reports
https://statamic.com
95 stars 5 forks source link

Glide, localized image, absolute="true" #2385

Open pmeissner opened 5 years ago

pmeissner commented 5 years ago

The bug is described in this SEO Pro related issue. When the glide tag has the param absolute="true" localized images get prepended with two locales. Example: https://somedomain.com/es-co/es-co/img/asset/bWFpbi9jb25kaXRpb25zL2xhbmRpbmdfc3VwcG9ydGluZy0tZWN6ZW1hLmpwZw==?p=seo&s=84b6d1740386e76ad6779baf995560f2

Expected behavior I would expect the image to be prepended by 1 locale es-co instead of 2 locales es-co/es-co

Environment details: