title: How can I pass "/" through GET in URI?
body: <p>SOLVED:</p>
  
  <p>This URI works:</p>
  
  <pre><code>/controller/action?ret=%2F
  </code></pre>
  
  <hr>
  
  <p>I want to pass an additional "/" parameter to the controller action. So I did this:</p>
  
  <pre><code>$par1 = urlencode('/');
  $this-&gt;_redirect('/controller/action/par1/' . $par1);
  </code></pre>
  
  <p>But I get this error message:</p>
  
  <pre><code>Not Found
  
  The requested URL /controller/action/ret// was not found on this server.
  </code></pre>
  
  <p>When I call the controller action without any parameters or with parameter "aaa" it works. These URIs work:</p>
  
  <pre><code>/controller/action
  /controller/action/par1/aaa
  /controller/action/par1/jfhsdajkhfui454fs
  /controller/action/par1
  /controller/action/par1/
  </code></pre>
  
  <p>You can put <a href="http://example.com" rel="nofollow noreferrer">http://example.com</a> in front of all relative URIs above and it's the same.</p>