Magento2 如何在Magento 2.2.3中安装PRODSECBUG-2233修补程序?

Magento2 如何在Magento 2.2.3中安装PRODSECBUG-2233修补程序?,magento2,patch,Magento2,Patch,我从Magento官方网站下载了两个不同版本的PRODSECBUG-2233补丁 1) Magento 2.3.0(PRODSECBUG-2233-2.3.x-2019-07-26-08-35-12.补丁) 2) Magento 2.2.3(PRODSECBUG-2233-2.2.x-2019-07-26-08-35-48.补丁) 我已经使用下面的命令成功地在Magento 2.3.0版本中安装了PRODSECBUG-2233修补程序 patch -p1 < PRODSECBUG-2233

我从Magento官方网站下载了两个不同版本的PRODSECBUG-2233补丁

1) Magento 2.3.0(PRODSECBUG-2233-2.3.x-2019-07-26-08-35-12.补丁)

2) Magento 2.2.3(PRODSECBUG-2233-2.2.x-2019-07-26-08-35-48.补丁)

我已经使用下面的命令成功地在Magento 2.3.0版本中安装了PRODSECBUG-2233修补程序

patch -p1 < PRODSECBUG-2233-2.3.x-2019-07-26-08-35-12.patch
patch-p1
但当我尝试在Magento 2.2.3中使用相同的命令时,它不起作用,并在终端中显示失败。请在下面查看

patch -p1 < PRODSECBUG-2233-2.2.x-2019-07-26-08-35-48.patch
...
....
File to patch: vendor/magento/module-sales/Helper/Admin.php
patching file vendor/magento/module-sales/Helper/Admin.php
Hunk #1 FAILED at 6 (different line endings).
Hunk #2 FAILED at 31 (different line endings).
Hunk #3 FAILED at 149 (different line endings).
Hunk #4 FAILED at 186 (different line endings).
4 out of 4 hunks FAILED -- saving rejects to file vendor/magento/module-sales/Helper/Admin.php.rej
patch-p1
我怎样才能解决这个问题?magento.patch文件中是否存在此问题

请帮帮我


谢谢

您能解决这个问题吗?