mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 03:51:59 +01:00
added a base href fix
This commit is contained in:
parent
89fd162f4f
commit
0fe5c31d22
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user