Fabians small Magento world
  • Home
Subscribe
Tagged

MageSetup

A collection of 1 post

Security

array_diff(array, string) does(n't) work as expected

This is an old problem, quite a few security researchers already wrote about. But repeating things, helps learning them (especially me). In MageSetup we read posted agreements (terms and conditions) and compare them with all the agreements we expect. This looks like that: $requiredAgreements = $this->_getCustomerCreateAgreements(); $controller = $observer->

  • Fabian Blechschmidt
Fabian Blechschmidt Jan 17, 2017 • 1 min read
Fabians small Magento world © 2022
Powered by Ghost