Details
-
Improvement
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently plugman fileCopy:
1) allows absolute src and target elements to locations outside the plugin directory and/or project directory
2) follows and allow copying of symlinks to files outside the plugin directory
To fix i would suggest:
1) throw on any resolved target location outside of the project dir
2) throw on any resolved src not inside the plugin dir
3) allow symlinks inside the plugins dir (common platform agnostic assets etc.) but it MUST point to a location also inside the plugin directory.