title: Encoding url's the Play! Framework
body: <p>Is there a way to make the <a href="http://www.playframework.org/" rel="nofollow">Play! Framework</a> ignore slashes and <code>?</code> in parts of the URL? </p>
  
  <p>Typically, if I have the following:</p>
  
  <p><code>www.123.com/api/link/http:www.bla.com/?contenId=123&amp;User=test</code></p>
  
  <p>It won't work. In that case, what I would want to do is simply have the link in the last part of the URL in a <code>String</code> variable to save it. I suppose I can force the client to replace the <code>/</code> and <code>?</code> by something else, but I would rather keep it simple.</p>
  
  <p>My first thought was that maybe there is a way to configure the routing such that we have something like:</p>
  
  <p><code>/api/link/{data}</code></p>
  
  <p>where <code>data</code> would hold whatever remains of the URL. Can't find out how to do that though.</p>