Magento's request doesn't collect GET and POST

[UPDATE: found out the real problem]

Recently, we had to move an application from the staging environment to pre-production ( where stage means we show it to the customer and pre-production is the customer hosts it waiting for the go-live ) without the possibility of replicating the whole VM due to incompatibility issues for the VM conversion ( VMware to Xen, if I correctly rembember ).

After setting up the new environment we experienced serious issue on the search engine and other minor components related with GET and POST parameters: after a while we compared the installations of PHP to find out the problem and it came out that the PCRE extension used in the new environment ( CentOS, if I – again – correctly remember ) was released in 2006 ( version 6.something ).

You can check it from the phpinfo() looking for:

After updating ( version 7.8 ) it everything got normal.

Hi there! I recently wrote an ebook on web application security, currently sold on leanpub, the Amazon Kindle store and gumroad.

It contains 160+ pages of content dedicated to securing web applications and improving your security awareness when building web apps, with chapters ranging from explaining how to secure HTTP cookies with the right flags to understanding why it is important to consider joining a bug bounty program.

Feel free to skim through some of the free chapters published on this blog and, if the content seems interesting enough to you, grab a copy on leanpub, the Amazon Kindle store, gumroad or simply checkout right down below!

Buy the Web Application Security ebook for $9.99

In the mood for some more reading?

...or check the archives.