Reply to thread

I found one difference with Xenforo versions that affects this.


/src/vendor/symfony/dom-crawler/Crawler.php line 196


Xenforo 2.2.11:

$content = mb_convert_encoding($content, 'HTML-ENTITIES', $charset);


Xenforo 2.2.15:

$content = htmlspecialchars_decode(iconv('UTF-8', 'ISO-8859-1', htmlentities($content, ENT_COMPAT, 'UTF-8')), ENT_QUOTES);


Reverting this line of code to previous version seems to cure the problem but I must do some more researching to see if it breaks something else.


Back
Top Bottom