Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7183

Prevent plugins from modifying files outside of the project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-lib

    Description

      Right now this is possible:

      <source-file src="src/someScript.js" target-dir="../../../../../hooks/pre_package"/>
      

      We should ensure that plugins are not able to touch files outside of the project directory!

      Attachments

        Activity

          People

            bso Byoungro So
            agrieve Andrew Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: