dachcom-digital / pimcore-seo

The last SEO Bundle for Pimcore you'll ever need!
Other
38 stars 14 forks source link

Preview image (og:image, twitter:image) not shown if asset path contains spaces #35

Closed IAmMajo closed 1 year ago

IAmMajo commented 1 year ago
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no

If the asset path of the properties og:image or twitter:image contains spaces no preview image is shown. image

The background-image style generated by the SEO Bundle is shown as an invalid property value in browsers because the URL contains spaces. image

The URL used in the background-image style should be URL encoded and spaces in the asset path should be replaced with %20.

solverat commented 1 year ago

Fixed in https://github.com/dachcom-digital/pimcore-seo/pull/41