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 422ce06 + 5773975 commit 2c1f607Copy full SHA for 2c1f607
reference/constraints/Cidr.rst
@@ -126,6 +126,14 @@ Parameter Description
126
This determines exactly *how* the CIDR notation is validated and can take one
127
of :ref:`IP version ranges <reference-constraint-ip-version>`.
128
129
+.. note::
130
+
131
+ The IP range checks (e.g., ``*_private``, ``*_reserved``) validate only the
132
+ IP address, not the entire netmask. To improve validation, you can set the
133
+ ``{{ min }}`` value for the netmask. For example, the range ``9.0.0.0/6`` is
134
+ considered ``*_public``, but it also includes the ``10.0.0.0/8`` range, which
135
+ is categorized as ``*_private``.
136
137
.. versionadded:: 7.1
138
139
The support of all IP version ranges was introduced in Symfony 7.1.
0 commit comments