title: Upload Image issue in Code Igniter for filenames with whitespace
body: <p>I am developing a website using Angular JS + Codeigniter. </p>
  
  <p>The problem lies  with image upload. The file names with space will not be uploaded (eg: "first image.jpg"). </p>
  
  <p>If we remove the space then it gets uploaded(eg:"firstimage.jpg"). This is my configuration.</p>
  
  <pre><code>$config = array(
    'allowed_types'     =&gt; 'jpg|jpeg|gif|png', 
    'max_size'          =&gt; 2048, //2MB max
    'upload_path'       =&gt; $this-&gt;original_path,
    'remove_spaces'     =&gt; true
  );
  
  $this-&gt;load-&gt;library('upload', $config);
  </code></pre>