这是完整的变更日志,以及我对变更日志的了解
以及哪些文件受什么原因影响列出如下
逃逸HTML变更
文件
app/code/core/Mage/Adminhtml/Block/Report/Review/Detail.php
app/code/core/Mage/Adminhtml/Block/Report/Tag/Product/Detail.php
app/code/core/Mage/Adminhtml/Block/Review/Add.php
app/code/core/Mage/Adminhtml/Block/Review/Edit/Form.php
app/code/core/Mage/Sales/Block/Adminhtml/Billing/Agreement/Grid.php
app/design/adminhtml/default/default/template/sales/billing/agreement/view/tab/info.phtml
app/design/adminhtml/default/default/template/xmlconnect/edit/tab/content.phtml
app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/image_edit.phtml
js/mage/adminhtml/backup.js
添加DS而不是'/'
app/code/core/Mage/Adminhtml/Model/LayoutUpdate/Validator.php
添加了新文件
app/code/core/Zend/Form/Decorator/Form.php
lib/Varien/Filter/FormElementName.php
完成变更文件
app / code / core / Mage / Adminhtml / Model / System / Config / Backend / Filename.php
class Mage_Adminhtml_Model_System_Config_Backend_Filename extends Mage_Core_Model_Config_Data
{
+
+ /**
+ * Config path for system log file.
+ */
+ const DEV_LOG_FILE_PATH = 'dev/log/file';
+
+ /**
+ * Config path for exception log file.
+ */
+ const DEV_LOG_EXCEPTION_FILE_PATH = 'dev/log/exception_file';
+
+ /**
+ * Processing object before save data
+ *
+ * @return Mage_Adminhtml_Model_System_Config_Backend_Filename
+ * @throws Mage_Core_Exception
+ */
protected function _beforeSave()
{
- $value = $this->getValue();
- $value = basename($value);
+ $value = $this->getValue();
+ $configPath = $this->getPath();
+ $value = basename($value);
+
+ // if dev/log setting, validate log file extension.
+ if ($configPath == self::DEV_LOG_FILE_PATH || $configPath == self::DEV_LOG_EXCEPTION_FILE_PATH) {
+ if (!Mage::helper('log')->isLogFileExtensionValid($value)) {
+ throw Mage::exception('Mage_Core', Mage::helper('adminhtml')->__
+ ('Invalid file extension used for log file. Allowed file extensions: log, txt, html, csv'));
+ }
+ }
+
$this->setValue($value);
return $this;
}
添加了方法getCacheId()和getServiceUrl()
app/code/core/Mage/Api/Helper/Data.php
添加了方法unserialize()
app/code/core/Mage/Core/Helper/String.php
使用在app / code / core / Mage / Api / Helper / Data.php中创建的getServiceUrl()方法
app/code/core/Mage/Api/Model/Server/Adapter/Soap.php
app/code/core/Mage/Api/Model/Wsdl/Config/Base.php
使用在app / code / core / Mage / Api / Helper / Data.php中创建的getCacheId()方法
app/code/core/Mage/Api/Model/Wsdl/Config.php
使用上面unserialize()
在app / code / core / Mage / Core / Helper / String.php中创建的方法
app/code/core/Mage/Eav/Model/Entity/Attribute/Backend/Serialized.php
app/code/core/Mage/Rule/Model/Abstract.php
评论变更
app/code/core/Mage/Core/Model/File/Validator/Image.php
app/code/core/Mage/Core/etc/system.xml
已添加评论
app/code/core/Mage/Core/etc/config.xml
增加了最大密码长度
app/code/core/Mage/Customer/Model/Customer.php
添加了允许文件扩展名 // $ _ allowedFileExtensions = array('log','txt','html','csv');
app/code/core/Mage/Log/Helper/Data.php
不知道有什么变化
app/design/adminhtml/default/default/template/backup/dialogs.phtml
问题清单
SUPEE-10415防止篮子控制
在magento中的贝宝中获取错误代码#10415