Welcome Guest, Not a member yet? Register   Sign In
spaces in URLs converted to _
#31

[eluser]sophistry[/eluser]
my suggestion is to create a directory with spaces or plus signs in it (if the OS you run will let you). my contention is that the ISP is changing anything that looks like a space character into an underscore BUT, only when it appears in something that looks like a path (like a CI "segment"). that would explain why you can pass spaces as part of a GET parameter (ie, the part of the URI after the ?).

but, since you recently changed hosting it wouldn't make sense that two providers do the same thing unless they are using the same backend setup.

in any case def. ask them whether they muck with the URIs before you get them.

so, it's open source, why not just follow the code execution and put in exit() at one point at a time and see what the uri var looks like all along the way.

just start at index.php and you'll see what CI loads - it's pretty straightforward. you might start by printing the $_SERVER var right in index.php and see what is there. if any of the URI vars have been modified to underscores in index.php (before the CI include at the bottom) then you know it is the hosting provider or even your own .htaccess file doing the transformation.

let us know.


Messages In This Thread
spaces in URLs converted to _ - by El Forum - 04-02-2008, 09:21 AM
spaces in URLs converted to _ - by El Forum - 04-03-2008, 01:29 AM
spaces in URLs converted to _ - by El Forum - 04-03-2008, 02:47 AM
spaces in URLs converted to _ - by El Forum - 04-03-2008, 10:04 AM
spaces in URLs converted to _ - by El Forum - 04-03-2008, 11:29 AM
spaces in URLs converted to _ - by El Forum - 04-04-2008, 01:21 AM
spaces in URLs converted to _ - by El Forum - 04-04-2008, 09:03 AM
spaces in URLs converted to _ - by El Forum - 06-16-2008, 10:09 AM
spaces in URLs converted to _ - by El Forum - 06-17-2008, 07:57 AM
spaces in URLs converted to _ - by El Forum - 06-17-2008, 08:20 AM
spaces in URLs converted to _ - by El Forum - 06-17-2008, 08:34 AM
spaces in URLs converted to _ - by El Forum - 06-18-2008, 11:30 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 04:54 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 06:59 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 07:08 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 08:12 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 08:19 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 08:24 AM
spaces in URLs converted to _ - by El Forum - 06-19-2008, 08:26 AM
spaces in URLs converted to _ - by El Forum - 06-20-2008, 08:01 AM
spaces in URLs converted to _ - by El Forum - 06-20-2008, 01:08 PM
spaces in URLs converted to _ - by El Forum - 06-21-2008, 09:39 AM
spaces in URLs converted to _ - by El Forum - 06-21-2008, 08:52 PM
spaces in URLs converted to _ - by El Forum - 06-23-2008, 07:59 AM
spaces in URLs converted to _ - by El Forum - 06-23-2008, 08:11 AM
spaces in URLs converted to _ - by El Forum - 06-23-2008, 08:26 AM
spaces in URLs converted to _ - by El Forum - 06-25-2008, 12:56 PM
spaces in URLs converted to _ - by El Forum - 06-25-2008, 03:03 PM
spaces in URLs converted to _ - by El Forum - 06-25-2008, 03:14 PM
spaces in URLs converted to _ - by El Forum - 07-02-2008, 09:30 AM
spaces in URLs converted to _ - by El Forum - 07-02-2008, 09:59 AM
spaces in URLs converted to _ - by El Forum - 07-02-2008, 10:35 AM
spaces in URLs converted to _ - by El Forum - 07-02-2008, 11:27 AM
spaces in URLs converted to _ - by El Forum - 07-03-2008, 02:05 AM
spaces in URLs converted to _ - by El Forum - 07-03-2008, 10:10 AM
spaces in URLs converted to _ - by El Forum - 07-03-2008, 10:40 AM
spaces in URLs converted to _ - by El Forum - 10-07-2008, 05:31 AM
spaces in URLs converted to _ - by El Forum - 12-19-2008, 04:42 PM
spaces in URLs converted to _ - by El Forum - 12-19-2008, 05:35 PM
spaces in URLs converted to _ - by El Forum - 01-16-2009, 07:28 AM
spaces in URLs converted to _ - by El Forum - 01-18-2009, 07:21 PM
spaces in URLs converted to _ - by El Forum - 01-18-2009, 11:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB