motorino/internal/site
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 1298a98f30 fix: escape the title attribute, refuse clashing addresses and unsafe paths, check Switch
A quote in a title broke the og:title attribute (a regression from build.py).
Two sources that give the same output address now stop the build and name
both, instead of one replacing the other. Asset names and sources must be
paths inside the site, language codes must look like codes, and the Switch key
is escaped, must point to a path and may name only listed languages.
2026-11-15 10:03:58 +01:00
..
site.go fix: escape the title attribute, refuse clashing addresses and unsafe paths, check Switch 2026-11-15 10:03:58 +01:00
site_test.go fix: escape the title attribute, refuse clashing addresses and unsafe paths, check Switch 2026-11-15 10:03:58 +01:00