MultiSafepay / Magento2Msp

MultiSafepay plugin for Magento 2 (Deprecated) see: https://github.com/MultiSafepay/magento2
Open Software License 3.0
29 stars 25 forks source link

Added htmlspecialchars to payment link #82

Closed teun-loonen closed 5 years ago

teun-loonen commented 5 years ago

Sometimes payment link has & char in it. then when on order detail page the comment is displayed with allowed tags it generates a the following message DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 1

example order histroy message: "User redirected to MultiSafepay
Payment link:
https://bankieren.ideal.ing.nl/ideal/betalen/inlog-annuleren/static/detect_mob?trxid=xxxxxxxxxxxxxxxx&random=xxxxxxxxxxxxx"

Jasper-MultiSafepay commented 5 years ago

Reproduced and confirmed issue. Patch approved. Thanks @teun-loonen