<p dir="auto">I didn't know but it seems that PHP is replacing dots by underscores in parameter names in all global variables ($_GET, $_POST, ...). This bug in PHP is described on <a href="http://stackoverflow.com/questions/68651/get-php-to-stop-replacing-characters-in-get-or-post-arrays#answer-68742" rel="nofollow">stackoverflow</a> and on <a href="http://fr2.php.net/variables.external#language.variables.external.dot-in-names" rel="nofollow">php.net</a>.<br>
Since the Request class uses those globals in <code class="notranslate">createFromGlobals</code> method, all values in Request::$query, Request::$attributes, ... are "wrong".</p>
<p dir="auto">Is this a known and accepted behavior ? There is a <a href="https://gist.github.com/elyobo/6200838">Gist</a> with a proposed solution. Do you think it is worth a PR or do I have to wait for <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fabpot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fabpot">@fabpot</a>'s one on RequestFactory (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="19151654" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/8957" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/8957/hovercard" href="https://github.com/symfony/symfony/pull/8957">#8957</a>) ?</p>
<p dir="auto">Symfony/Component/BrowserKit/Client-&gt;submit uses $form-&gt;getPhpValues() which uses parsestr which automagically converts . to _, this breaks compatibility with forms intended for non-PHP services.</p>
<p dir="auto"><strong>Background</strong><br>
I am trying to write a functional test for connecting to an OpenID2 implementation in ASP.NET, however this requires use of a (auto-submitted by javascript) form with names like hidden form names like openid.mode.</p>