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:
parent
a77d749f1b
commit
2328ad3103
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user