title: Server.MapPath and spaces
body: <p>I noticed something weird in Server.MapPath(). If I have a folder with a space at the end I get:</p>
  
  <blockquote>
    <p>HttpException: Failed to map the path.</p>
  </blockquote>
  
  <p>This works fine:
  <code>Server.MapPath("/Folder1/Folder2/item.jpg")</code></p>
  
  <p>This works fine:
  <code>Server.MapPath("/Folder1/ Folder2/item.jpg")</code></p>
  
  <p>This works fine:
  <code>Server.MapPath("/Folder1/Fol der2/item.jpg")</code></p>
  
  <p>This fails!:
  <code>Server.MapPath("/Folder1/Folder2 /item.jpg")</code></p>
  
  <p>Could somebody explain to me why a space at the end fails while a space anywhere else doesn't?</p>
  
  <p><strong>Note:</strong> None of the folders exist.</p>