title: url encoded forward slashes breaking my codeigniter app
body: <p>i’m trying to create a url string that works like this:</p>
  
  <pre><code>/app/process/example.com/index.html
  </code></pre>
  
  <p>so in other words,</p>
  
  <pre><code>/app/process/$URL
  </code></pre>
  
  <p>i then retrieve the url with </p>
  
  <pre><code>$this-&gt;uri-&gt;segment(3);
  </code></pre>
  
  <p>the forward slashes in the URL will of course be a problem accessing uri segments, so i’ll go ahead and url encode the URL portion:</p>
  
  <pre><code>/app/process/example.com%2Findex.html
  </code></pre>
  
  <p>.. but now I just get a 404 saying ...</p>
  
  <pre><code>Not Found
  
  The requested URL /app/process/example.com/index.html was not found on this server. 
  </code></pre>
  
  <p>it appears that my url encoding of forward slashes breaks CI’s URI parser.</p>
  
  <p>what can i do to get around this problem?</p>