mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Bugtracker #3710 - image paths from forum RSS feed (and probably other plugins)
This commit is contained in:
@@ -25,7 +25,7 @@ foreach($imgParms as $k => $v) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(file_exists(e_IMAGE."newspost_images/".$code_text))
|
if((strpos($code_text,'../') === FALSE) && file_exists(e_IMAGE."newspost_images/".$code_text))
|
||||||
{
|
{
|
||||||
$code_text = e_IMAGE."newspost_images/".$code_text;
|
$code_text = e_IMAGE."newspost_images/".$code_text;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user