<p dir="auto">Consider situation</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$form = $formFactory-&gt;createNamedBuilder('', 'form', [], ['csrf_protection' =&gt; false])
     -&gt;add('a', 'integer')
     -&gt;setMethod('GET')
    -&gt;getForm()
;
$form-&gt;handleRequest($this-&gt;getRequest());
var_dump($form-&gt;isValid());"><pre class="notranslate"><code class="notranslate">$form = $formFactory-&gt;createNamedBuilder('', 'form', [], ['csrf_protection' =&gt; false])
     -&gt;add('a', 'integer')
     -&gt;setMethod('GET')
    -&gt;getForm()
;
$form-&gt;handleRequest($this-&gt;getRequest());
var_dump($form-&gt;isValid());
</code></pre></div>
<p dir="auto">now on example.com/test.php?a=1 form is valid. but on example.com/test.php?a=1&amp;utm_source=zzz&amp;... form is invalid, because there are extra fields</p>
<p dir="auto">So i request an option, to disable extra fields validation</p>
<p dir="auto">In the project I'm working on I'm trying to restrict a firewall to a specific IP address/range. The ACL can already do this, and the firewall seems to support only <code class="notranslate">host</code> and <code class="notranslate">pattern</code> options. It would be cool if <code class="notranslate">ip</code> and <code class="notranslate">ips</code> options (same as <code class="notranslate">access_control</code>) could be added. This can be done using a custom request matcher, but I should duplicate all the logic of the host and pattern matching too if I want to use a combination of both</p>