diff --git a/html_sanitizer.rst b/html_sanitizer.rst index baef54e79d4..1f451bfb867 100644 --- a/html_sanitizer.rst +++ b/html_sanitizer.rst @@ -1009,6 +1009,14 @@ increase or decrease this limit: ->withMaxInputLength(20000) ); +It is possible to disable this length limit by setting the max input length to +``-1``. Beware that it may expose your application to `DoS attacks`_. + +.. versionadded:: 6.4 + + The support for disabling the length limit of the HTML sanitizer was + introduced in Symfony 6.4. + Custom Attribute Sanitizers ~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: