mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user