Files
wekan/models/lib
Lauri Ojansivu 6c3db838ac Render the Admin Panel custom head meta tags, as meta elements only.
Admin Panel / Settings / Layout / Custom head meta tags was saved and
published, but the page's <head> only ever received the custom link tags and
the manifest, so description, Open Graph and other meta tags never reached a
browser or a link preview. They are written now, when custom head tags are
enabled. Only <meta> elements are taken from the text: a script, a style, a
second title or plain text is dropped, and so are http-equiv refresh and
set-cookie, which would redirect every visitor or write their cookies.

tests/customHeadMetaTags.test.cjs covers the tags kept and the ones refused;
a Playwright case fetches a served page.

Thanks to xet7 !
2026-10-08 11:41:59 +03:00
..
2026-06-06 07:21:59 +03:00
2026-06-06 09:28:05 +03:00