We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80f7c9e commit 6832048Copy full SHA for 6832048
html_sanitizer.rst
@@ -1009,6 +1009,14 @@ increase or decrease this limit:
1009
->withMaxInputLength(20000)
1010
);
1011
1012
+It is possible to disable this length limit by setting the max input length to
1013
+``-1``. Beware that it may expose your application to `DoS attacks`_.
1014
+
1015
+.. versionadded:: 6.4
1016
1017
+ The support for disabling the length limit of the HTML sanitizer was
1018
+ introduced in Symfony 6.4.
1019
1020
Custom Attribute Sanitizers
1021
~~~~~~~~~~~~~~~~~~~~~~~~~~~
1022
0 commit comments