#682: Routing does not cleanup $argv
---------------------+------------------------------------------------------
 Reporter:  david    |        Owner:  david 
     Type:  defect   |       Status:  new   
 Priority:  normal   |    Milestone:  0.11.1
Component:  routing  |      Version:  0.11.0
 Severity:  minor    |   Resolution:        
 Keywords:           |    Has_patch:  0     
---------------------+------------------------------------------------------
Comment (by david):

 Example:
 {{{
 /lo%20g%2Bi+n&some=thing?foo=bar%20ba+z
 }}}
 Yields:
 {{{
     ["argv"]=>
     array(4) {
       [0]=>
       string(5) "/lo g"
       [1]=>
       string(1) "i"
       [2]=>
       string(25) "n&some=thing&foo=bar%20ba"
       [3]=>
       string(1) "z"
     }
     ["argc"]=>
     int(4)
 }}}

 Now we need to decrement {{{argc}}} twice, remove 0 and 1, reindex, and
 remove {{{n&some=thing&}}}. Real fun, this.

-- 
Ticket URL: <http://trac.agavi.org/ticket/682#comment:1>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to