#1227: AgaviWebRouting::gen(null) creates urls with "&" as separator
---------------------+------------------------------------------------------
 Reporter:  jarda    |       Owner:  dominik 
     Type:  defect   |      Status:  new     
 Priority:  normal   |   Milestone:  1.0.3   
Component:  routing  |     Version:  HEAD-1.0
 Severity:  normal   |    Keywords:          
Has_patch:  0        |  
---------------------+------------------------------------------------------
 If in php.ini the following is declared:
 {{{
 arg_separator.input = ";&"
 }}}

 calling $ro->gen(null) on a url like

 {{{
 http://foo.tld/bar?baz=quux&foo=bar
 }}}
 generates
 {{{
 /bar?baz=quux&foo=bar
 }}}
 instead of the expected
 {{{
 /bar?baz=quux&foo=bar
 }}}

 I have generated a test case against sample app.

 Steps to reproduce:
 1. change php.ini
 2. patch sample app
 3. call
 {{{
 /index.php/en/auth/login?username=jarda&foo=bar
 }}}

-- 
Ticket URL: <http://trac.agavi.org/ticket/1227>
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