1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 13:11:52 +02:00

Bugtracker #3710 - image paths from forum RSS feed (and probably other plugins)

This commit is contained in:
e107steved 2007-05-30 19:20:25 +00:00
parent a77d749f1b
commit 2328ad3103

View File

@ -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;
}