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

the plugin config-file tag for iOS plist array behaves unnaturally.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.1.0
    • cordova-common@3.0.0
    • cordova-common
    • None
    • Mac OSX

    Description

      In the src/util/plist-helpers.js, in the nodeEqual function,
      ```
      node2 = escapeRE(node2).replace(/\\\$\S+/gm, '(.*?)');
      ```
      seems the strange behavior.
      For example, the escaped node2 "$(ABC)Hello" becomes "(.*?)".

      In the previous version of this code is
      ```
      node2 = escapeRE(node2).replace(new RegExp('
      $[a-zA-Z0-9-_]+','gm'),'(.*?)');
      ```
      in this case, the escaped node2 "$(ABC)Hello" is unchaned.

      Attachments

        Issue Links

          Activity

            People

              dpogue Darryl Pogue
              knaito Ken
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 504h
                  504h
                  Remaining:
                  Remaining Estimate - 504h
                  504h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified