[feed.py] there is no yaml/toml-specific sanitization happening #6

Closed
opened 2022-01-01 07:39:17 +00:00 by aadil · 5 comments
Owner

copied over from lumbung-theme repo

title: "rra: “"The fediverse is diverse beca…”"

this kind of stuff breaks things

copied over from [lumbung-theme repo](https://git.vvvvvvaria.org/rra/lumbung-feed-aggregator/issues/10) ``` title: "rra: “"The fediverse is diverse beca…”" ``` > this kind of stuff breaks things
r changed title from there is no yaml/toml-specific sanitization happening to [feed.py] there is no yaml/toml-specific sanitization happening 2022-01-07 10:00:38 +00:00
Member

Quotes, square brackets or other things that are syntax in yaml/toml (the post frontmatter) need to be escaped or otherwise things break!

Quotes, square brackets or other things that are syntax in yaml/toml (the post frontmatter) need to be escaped or otherwise things break!
knoflook self-assigned this 2022-03-04 10:15:36 +00:00
aadil added the due date 2022-04-15 2022-04-08 09:18:43 +00:00
Owner
https://git.autonomic.zone/ruangrupa/lumbunglib/pulls/28#issuecomment-10510
Owner

Do we need to actually escape this or not? After reverting #28 everything seems to work OK

Do we need to actually escape this or not? After reverting #28 everything seems to work OK
Member

Quotes, square brackets or other things that are syntax in yaml/toml (the post frontmatter) need to be escaped or otherwise things break!

I wrote this before I started looking in to sanitization and before I wrote the PR. Afaik if we wrap everything in double quotes (as we do), we only need to be able to escape those.

> Quotes, square brackets or other things that are syntax in yaml/toml (the post frontmatter) need to be escaped or otherwise things break! I wrote this before I started looking in to sanitization and before I wrote the PR. Afaik if we wrap everything in double quotes (as we do), we only need to be able to escape those.
Owner

cool, then this is resolved!

cool, then this is resolved!
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

2022-04-15

Dependencies

No dependencies set.

Reference: ruangrupa/konfluks#6
No description provided.