title: send_from_directory cannot process files with periods in the name?
body: <p>My directory structure is like this:</p>
  
  <pre><code>.
  |__ webserver.py
  |__ storydata/
    |__ data
      |__ 1.1.json
      |__ 1-1.json
  </code></pre>
  
  <p>When I run a Flask server that looks like this:</p>
  
  <pre><code>import os
  from flask import Flask, send_from_directory, redirect
  app = Flask(__name__)
  
  @app.route("/storydata/&lt;path:filename&gt;")
  def getfic(filename=None):
      print(filename)
      print(os.path.join(".", "storydata", "data"))
      return send_from_directory(os.path.join(".", "storydata", "data"), filename)
  </code></pre>
  
  <p>And go to the <code>/storydata/1.1.json</code> URL, Flask 404s. However, <code>/storydata/1-1.json</code> works just fine. Is this some peculiarity with how Flask deals with send_from_dir and filenames? Is there a way to work around this? I would very much like to send_from_dir files that have periods in the name.</p>