[
https://issues.apache.org/jira/browse/CB-7890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14190880#comment-14190880
]
ASF subversion and git services commented on CB-7890:
-----------------------------------------------------
Commit 281aee737dbe5143c9cb5957359ed5df6298a154 in cordova-lib's branch
refs/heads/master from [~goya]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=281aee7 ]
CB-7890 validate file copy operations in plugman
Signed-off-by: Shazron Abdullah <[email protected]>
> Validate file copy operations in plugman
> ----------------------------------------
>
> Key: CB-7890
> URL: https://issues.apache.org/jira/browse/CB-7890
> Project: Apache Cordova
> Issue Type: Improvement
> Components: CordovaLib
> Reporter: Brett Rudd
> Assignee: Brett Rudd
> Priority: Critical
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]