We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd1af26 commit 4add5c3Copy full SHA for 4add5c3
reference/constraints/Url.rst
@@ -317,6 +317,11 @@ also relative URLs that contain no protocol (e.g. ``//example.com``).
317
318
The ``requiredTld`` option was introduced in Symfony 7.1.
319
320
+.. deprecated:: 7.1
321
+
322
+ Not setting the ``requireTld`` option is deprecated since Symfony 7.1
323
+ and will default to ``true`` in Symfony 8.0.
324
325
By default, URLs like ``https://aaa`` or ``https://foobar`` are considered valid
326
because they are tecnically correct according to the `URL spec`_. If you set this option
327
to ``true``, the host part of the URL will have to include a TLD (top-level domain
0 commit comments