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.
2 parents bbc9293 + 270605b commit 4992443Copy full SHA for 4992443
html_sanitizer.rst
@@ -1005,6 +1005,14 @@ increase or decrease this limit:
1005
->withMaxInputLength(20000)
1006
);
1007
1008
+It is possible to disable this length limit by setting the max input length to
1009
+``-1``. Beware that it may expose your application to `DoS attacks`_.
1010
+
1011
+.. versionadded:: 6.4
1012
1013
+ The support for disabling the length limit of the HTML sanitizer was
1014
+ introduced in Symfony 6.4.
1015
1016
Custom Attribute Sanitizers
1017
~~~~~~~~~~~~~~~~~~~~~~~~~~~
1018
0 commit comments