Commit Graph

15 Commits (5f0c2372bc8be3763b649b13ee142c273583329e)

Author SHA1 Message Date
href 5bb88fd174
Runtime configuration
6 years ago
scarlett 795634c90f Allow use of the `abbr` HTML tag.
6 years ago
William Pitcock 8613db0e3b html: ensure comments are correctly scrubbed
6 years ago
William Pitcock 595d855f0e html scrubbing policies: restrict img tags to http/https only for mediaproxy compatibility
6 years ago
Haelwenn (lanodan) Monnier 2154c5dcd8
lib/pleroma/html.ex: Use macros for valid_schemes, change config for schemes
6 years ago
Haelwenn (lanodan) Monnier d7654c77de
lib/pleroma/html.ex: Use a function as a variable (broken for some reason)
6 years ago
Haelwenn (lanodan) Monnier 50e0a9ae56
lib/pleroma/html.ex: Fix scheme lists
6 years ago
William Pitcock 7f0e291483 html: twittertext: add missing catchall scrub function
6 years ago
William Pitcock 8ae9424edb html: default to using normal scrub policy if provided scrub policy is nil
6 years ago
William Pitcock a7d0ecdc7c html: add policy which transforms inline images to pass through the media proxy
6 years ago
William Pitcock cd13fa17fd html: allow scrubbing policies to be stackable
6 years ago
William Pitcock 95376ac1fe html: add the ability to override the default scrub policy
6 years ago
William Pitcock 358f88e10a html: allow inline images by default (because of custom emoji)
6 years ago
William Pitcock 40e2f6e500 html: add default scrubbing profile and configuration knobs
6 years ago
William Pitcock 255f46d7ab html: new module providing a configurable markup scrubbing policy
6 years ago