Follow-up to bug #10231: Fixed wrong pattern conversions from split() to preg_split()
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / class.tslib_fe.php
index fa560ad..78eefe9 100644 (file)
                        $res = t3lib_div::getURL($code, 1, $headerArr);
 
                                // Header and content are separated by an empty line
-                       list($header, $content) = preg_split("/[\r\n\r\n]/", $res, 2);
+                       list($header, $content) = explode("\r\n\r\n", $res, 2);
                        $content.= "\r\n";
 
                        if (false === $res) {