View Issue Details

IDProjectCategoryView StatusLast Update
0006735OXID eShop (all versions)1.04. Content, static (register, contact etc.) pagespublic2024-04-17 13:44
ReporterQA Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.10.6 / 5.3.6 
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
Database VersionNot defined

Activities

There are no notes attached to this issue.