GX-Bug #69869
geschlossenStyleEdit4 GoogleFontDownloader verwendet ein veraltetes URL Schema | StyleEdit4 GoogleFontDownloader uses an outdated url schema
0%
StyleEdit4 kann jetzt Schriftarten von der Google 'css'- und 'css2'-Api herunterladen
Beschreibung
Currently StyleEdit4's GoogleFontDownloader does not create the url in the documented way correcty(https://developers.google.com/fonts/docs/css2#axis_ranges)
This could cause the requested url to look like https://fonts.googleapis.com/css2?family=Allura&family=Merriweather|Roboto:400,700,300,900|serif:400,700,300,900
which will result in a 400 response
the correct url for these fonts would be https://fonts.googleapis.com/css2?family=Merriweather&family=Roboto&family=serif
This causes the the fonts not to be saved in /public/fonts and the fonts will always be downloaded directly from the google api.
Dateien
Checkliste 0/0
Zugehörige Tickets
Von Ahmed Hamouda vor mehr als 2 Jahren aktualisiert
- Datei screenshot-gambio.shop-2022.08.31-10_24_13.png screenshot-gambio.shop-2022.08.31-10_24_13.png wurde hinzugefügt
- open StyleEdit
- navigate to Basics > Typography > Google Web Font Url
- add
https://fonts.googleapis.com/css2?family=Allura&family=Merriweather|Roboto:400,700,300,900|serif:400,700,300,900
as value - reset configurations for section and wait for the preview to load
expected: Shop loads normally
actual: shop loads with CSS problems
if the problem was not replicated, clear page cache.