added a base href fix

This commit is contained in:
SJ 2015-05-15 22:48:59 +02:00
parent 89fd162f4f
commit 0fe5c31d22

View File

@ -600,6 +600,8 @@ class ModelSearchMessage extends Model {
if(ENABLE_REMOTE_IMAGES == 0) { $chunk = preg_replace("/\<img([^\>]+)\>/i", "<img src=\"" . REMOTE_IMAGE_REPLACEMENT . "\" />", $chunk); }
$chunk = preg_replace("/\<base href/i", "<qqqq", $chunk);
/* prevent scripts in the HTML part */
$chunk = preg_replace("/document\.write/", "document.writeee", $chunk);