Skip to content
Discussion options

You must be logged in to vote

This is because the used html sanitizer symfony that is used since 27.2.0 has a default limit of 20k bytes.

Max Input Length

In order to prevent DoS attacks, by default the HTML sanitizer limits the input length to 20000 characters (as measured by strlen($input)). All the contents exceeding that length will be truncated. Use this option to increase or decrease this limit.

As workaround you can add the withMaxInputLength in lib/Utility/HtmlSanitizer.php:

Like this for example to disable it, or using a higher value than 20k suitable for your feeds.

diff --git a/lib/Utility/HtmlSanitizer.php b/lib/Utility/HtmlSanitizer.php
index 2c7206902..d01a173f1 100644
--- a/lib/Utility/HtmlSanitizer.p…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@p4p4j0hn
Comment options

@wofferl
Comment options

wofferl Dec 17, 2025
Collaborator

@jontringham
Comment options

@wofferl
Comment options

wofferl Jan 21, 2026
Collaborator

@jontringham
Comment options

Answer selected by p4p4j0hn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants