I would not write $path = realpath(__DIR__.'/../../../../web/uploads');
in a model, for obvious reusability and maintainability reasons. The model can at most know the path relative to the document root or uploads dir. But absolute file path calculation should be done in a configurable service. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
