View Issue Details

IDProjectCategoryView StatusLast Update
0006735OXID eShop (all versions)1.04. Content, static (register, contact etc.) pagespublic2017-12-05 15:28
ReporterQA 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.10.6 / 5.3.6 
Target VersionFixed in Version 
Summary0006735: E-mails created via the contact form do not contain any line breaks.
DescriptionIn \contact::send() nl2br should replace all line breaks from the string c_message with HTML line breaks.
However, c_message does not contain any line breaks.

        $sMessage = $oLang->translateString('MESSAGE_FROM') . " " .
                    $oLang->translateString($aParams['oxuser__oxsal']) . " " .
                    $aParams['oxuser__oxfname'] . " " .
                    $aParams['oxuser__oxlname'] . "(" . $aParams['oxuser__oxusername'] . ")

" .
                    nl2br(oxRegistry::getConfig()->getRequestParameter('c_message'));
Steps To Reproduce1. Go to contact form in OXID eShop
2. Fill in message
3. Send message
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
MySQL VersionNot defined

Activities

There are no notes attached to this issue.