getQuery()[CLOSED]

Url: domain.com/some/long/url?page=2;limit=10

in controller:

 var_dump($this->request->getQuery());
 exit;

and I got:

array(2) { ["_url"]=> string(25) "/some/long/url" ["page"]=> string(10) "2;limit=10" } 

It's look like a bug



85.4k

why is it a bug? According to the URI spec's (RFC 3986) ampersand & is the URI separator not dotcomma (;)



8.7k

@Phalcon Thanks and sorry for this stupid message. Shame on me.