title: Why Laravel Request object is replacing spaces with underscores on my form names?
body: <p>I have a Form posting variables containing spaces in their names</p>
  
  <p>e.g.
      </p>
  
  <p>I perform my ajax request and i can see in chrome inspector that name is correctly passed "with blank space)</p>
  
  <p>In my api.php:</p>
  
  <pre><code>Route::post('/user', 'UserController@get');
  </code></pre>
  
  <p>UserController </p>
  
  <pre><code>function get(Request $request)
  {
      dd($request-&gt;input('Name Surname')); //display null
      dd($request-&gt;all()); //I notice the key's changed to Name_Surname
  
  }
  </code></pre>
  
  <p>Taken that I can't change the names because they have to contain spaces (bad practice? ok but it has to be like that): </p>
  
  <p>how can I avoid spaces to be replaced?
  (maybe without to have to manipulate the request->all() returned array keys by hand....)</p>