Apache Cordova
  1. Apache Cordova
  2. CB-1124

"create" script (and possibly others) provided in bin directory do not escape arguments

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1.0
    • Component/s: iOS
    • Labels:
    • Environment:

      OSX Lion

      Description

      The script has multiple points of failure if there are spaces anywhere in either the path to the extracted bin dir, or the path to the target. It seems that there is insufficient argument escaping when passing the derived variables, like $R, on to other scripts and programs.

      Basically, I can't create a new Cordova project without renaming swathes of dirs in our development environment.

        Issue Links

          Activity

          Hide
          Shazron Abdullah added a comment - - edited

          Provide a bug fix for users wanting to fix this, but I believe the future (2.1? not sure) we are going with cordova-client (https://github.com/apache/incubator-cordova-labs/tree/cordova-client) and these scripts will be obsolete.

          Show
          Shazron Abdullah added a comment - - edited Provide a bug fix for users wanting to fix this, but I believe the future (2.1? not sure) we are going with cordova-client ( https://github.com/apache/incubator-cordova-labs/tree/cordova-client ) and these scripts will be obsolete.
          Show
          Shazron Abdullah added a comment - Fix commit http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/2999028c

            People

            • Assignee:
              Shazron Abdullah
              Reporter:
              lucas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development