We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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



98.9k

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



11.8k

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