Strange behaviour when an 'a' is in the url

Permalink
I have a single page with actions in the url.

So example

controller:

public function ( $action1, $action2, $action3 ) {
...
}

One of the actions is a letter like 'A', 'B' etc..
Everything is ok except when using an A in the url, then the value of $action2 is even never set to 'a'..

Why? What's with the a ?

MissMarvels
 
jordanlev replied on at Permalink Reply
jordanlev
Hard to tell without seeing more detailed code.
I'm not sure if what you've posted is actually representative of the code you're using, but if so, you don't actually have a function name in your code, and also you are referring to uppercase "A" in one place and lowercase "a" in another case.
MissMarvels replied on at Permalink Reply
MissMarvels
No it was just some text to try to explain.

This is the controller view function... nothing strange to it...

Here you can see the behaviour
http://product.fonemischbewustzijn.nl.development.missmarvels.nl/ma...

When pressing any "letter" the correct page is shown, except with the A...

Then i'm always redirected because the value of $container is not set....

Very strange... i did try to figure out if a/A is a reserved char for
the params, but did not succeed.

Thnx for the reply.

public function view($container = NULL, $klank = NULL, $type = NULL) {
             $html = Loader::helper('html');
             $ch = Loader::helper('container');
             Loader::model('container_list');
             Loader::model('container');
             Loader::model('attribute_list');
             Loader::model('attribute/type');
             Loader::model('attribute/categories/collection');
             $ak = CollectionAttributeKey::getByHandle('klank');
             if (empty ($container) && empty ($klank) && empty ($type) ){
                 $this->task = "overview";
                 $this->set('alphabet', $ch->getSelectOptions($ak));
                 return;
             }
             if ($ch->isInSelectOptions($ak, $container)){



Op 31-05-11 02:27, Concrete5 Community schreef: