Welcome Guest, Not a member yet? Register   Sign In
A . (dot) in url
#1

[eluser]bibstha[/eluser]
Hi,

I just found out that an arguement with . is being replaced by an underscore (_).

Code:
class Test extends Controller {
  function test_method($arg) {
    print $arg;
  }
}

Now the url Test/test_method/foo.bar

results in foo_bar being printed.

Is it a standard behavior? or is it part of some config?
If it is a standard behavior, is there anyway i could change it?
#2

[eluser]Thorpe Obazee[/eluser]
http://calendar.test/calendar/te.st/month/2009/05 on my local server.

This is a sample uri, I have and echoing uri->segment(2) echoed 'te.st'.

It wasn't modified in some sort of way.
#3

[eluser]Thorpe Obazee[/eluser]
This could probably help you out.

http://ellislab.com/forums/viewthread/75734/P30/
#4

[eluser]Dam1an[/eluser]
And another thread that just solved the same problem here

What is it with everyone having the same problem all of a sudden?
#5

[eluser]Thorpe Obazee[/eluser]
I'm guessing it's because of that swine flu virus... *nasty* Tongue




Theme © iAndrew 2016 - Forum software by © MyBB