#6243: query string parameter passed not handle properly ----------------------------------+----------------------------------------- Reporter: framework_starter | Owner: Type: Bug | Status: new Priority: Critical | Milestone: 1.2.x.x Component: General | Version: 1.2 Final Severity: Normal | Resolution: Keywords: | Php_version: PHP 5 Cake_version: 1.2.2.8120 | ----------------------------------+----------------------------------------- Old description:
> when i submitted input from view "abc & xyz" (input from inputbox named > 'name') and submited to index page wich redirect further to welcome page > ,when i dump array values it print only "abc" not "abc & xyz". > > verison i used is cake_1.2.2.8120 > > ---- code here ----- > function index(){ > $this->redirect(array('controller' => 'users', > 'action' => 'welcome', > urlencode($this->data['name']) > )); > } > > function welcome(){ > print_r($_GET); > $this->autoRender = false; > } > ---------------------- > > any suggestion to change code to handle GET request properly or some > patch to solve this. New description: when i submitted input from view "abc & xyz" (input from inputbox named 'name') and submited to index page wich redirect further to welcome page ,when i dump array values it print only "abc" not "abc & xyz". verison i used is cake_1.2.2.8120 ---- code here ----- function index(){ $this->redirect(array('controller' => 'users', 'action' => 'welcome', urlencode($this->data['name']) )); } function welcome(){ print_r($_GET); $this->autoRender = false; } ---------------------- any suggestion to change code to handle GET request properly or some patch to solve this. == == Comment (by mark_story): What do you mean queryString params are not properly handled? Do you have an example of some code to reproduce this issue. There are a few existing tests for querystring parameter handling. So some additional information / sample code would be helpful. -- Ticket URL: <https://trac.cakephp.org/ticket/6243#comment:1> CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/> Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tickets cakephp" group. To post to this group, send email to tickets-cakephp@googlegroups.com To unsubscribe from this group, send email to tickets-cakephp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tickets-cakephp?hl=en -~----------~----~----~----~------~----~------~--~---