title: PHP file_get_contents not working with file onedrive (403 FORBIDDEN)
body: <p>I have a web application with symfony 2.8 and i using Microsoft one drive to save my files. since December 2015 the function below work perfectly :</p>
  
  <pre><code>    public function indexAction(Request $request, File $file)
          {
                 //RemotePAth : "https://entreprise-my.sharepoint.com/personal/admininfo/_layouts/15/guestaccess.aspx?docid=xxxxxx&amp;authkey=xxxxxxxxxx"
                 //MimeType :"application/pdf"
                  return new Response(file_get_contents($file-&gt;getRemotePath()), 200, array('Content-Type' =&gt; $file-&gt;getMimeType(), 'charset' =&gt; 'UTF-8'));
  
          }
  </code></pre>
  
  <p>now this function return always "<strong>failed to open stream: HTTP request failed! HTTP/1.1 403 FORBIDDEN</strong>"</p>
  
  <p>On onedrive the file is public to everyone.</p>
  
  <p>Note: Before when I open the remotepath on navigator the file is downloaded automatically. now, it's redirect to onother Url and open file </p>