Welcome Guest, Not a member yet? Register   Sign In
url encoded forward slashes breaking my app
#1

[eluser]Ian Cook[/eluser]
i'm trying to create a url string that works like this:

Code:
/app/process/example.com/index.html

so in other words,

Code:
/app/process/$URL

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:

Code:
/app/process/example.com % 2Findex.html

.. but now I just get a 404 saying ...

Quote:Not Found

The requested URL /app/process/example.com/index.html was not found on this server.

it appears that my url encoding of forward slashes breaks CI's URI parser.

what can i do to get around this problem?

EDIT: wow, it's hard to even say % 2 F all together in this post...


Messages In This Thread
url encoded forward slashes breaking my app - by El Forum - 11-22-2008, 01:50 PM
url encoded forward slashes breaking my app - by El Forum - 11-23-2008, 03:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB