-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Description
I understood from the Magento 2 presentations I attended so far that between the application and Zend Frameword (ZF) there is another layer, the Magento Framework (MF). This should make it easy to upgrade or change ZF if needed in the future.
This meas that everything found in app/code should not access ZF classes directly. The classes in there should refer only to classes from the MF.
But the method Magento\Cms\Controller\Adminhtml\Page\PostDataProcessor::filter uses an instance of Zend_Filter_Input.
public function filter($data)
{
$inputFilter = new \Zend_Filter_Input(
array('custom_theme_from' => $this->dateFilter, 'custom_theme_to' => $this->dateFilter),
array(),
$data
);
$data = $inputFilter->getUnescaped();
return $data;
}
In case I understood this wrong and ZF access is allowed directly, please tell me and close this issue.
Metadata
Metadata
Assignees
Labels
No labels