HomeMusing Studio

Always sanitize slugs on post creation

Description

Always sanitize slugs on post creation

Previously, there was no sanitization when a post was created via
the API, which could lead to bad data being stored, including HTML,
potentially enabling XSS attacks.

Details

Provenance
mattAuthored on Jun 30 2026, 11:06 PM
Parents
rWFfa2dd3e414f6: Add missing import in config.go
Branches
Unknown
Tags
Unknown