title: Flask route with URI encoded component
body: <p>It seems Flask doesn't support routes with a URI encoded component.  I'm curious if I'm doing something wrong, or if there is a special flag I need to include.</p>
  
  <p>My route looks something like this:</p>
  
  <pre><code>@app.route('/foo/&lt;encoded&gt;/bar/')
  def foo(encoded):
    # ...
    pass
  </code></pre>
  
  <p>The URL that this should match can look like these:</p>
  
  <pre><code>http://foobar.com/foo/xxx/bar/ # matched correctly, no URI component
  http://foobar.com/foo/x%2Fx%2Fx%2F/bar/ # not matched correctly, URI component
  </code></pre>
  
  <p>Former URL works, latter spits out a lovely 404.</p>
  
  <p>Thanks!</p>