title: Submit form with file input return validation error in Laravel 5.1.*
body: <p>I have this form </p>
  
  <pre><code>&lt;form class="" enctype="multipart/form-data" action="{{route('submit_prop')}}" method="POST"&gt;
  &lt;div class="margin-btm-sm"&gt;
      &lt;label&gt;Main Image&lt;/label&gt;
      &lt;input type="file" name="main_img" class="form-control" /&gt;
  &lt;/div&gt;
  
    &lt;div class="margin-btm-sm"&gt;
      &lt;button type="submit" class="btn btn-primary"&gt;Save&lt;/button&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>when submit the form the request array (POST array) is empty. but when remove enctype="multipart/form-data" from form</p>
  
  <pre><code>&lt;form class="" action="{{route('submit_prop')}}" method="POST"&gt;
  </code></pre>
  
  <p>the request array has data.</p>
  
  <p>Controller Method:</p>
  
  <pre><code>   function submit(SubmitPropRequest $request, $id=null) {
                dd(\Request::all());
     }
  </code></pre>
  
  <p>Request Contoller:</p>
  
  <pre><code> public function rules()
  {  
           dd(\Request::all());  
      return [
          'main_img' =&gt; 'image|mimes:png,jpg,jpeg',
      ];
  }
  </code></pre>
  
  <p>what is the issue? i know the enctype is a must when submit a file. I used it in Laravel 5.0 and everything was ok why ij Laravel 5.1 did not work.</p>