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

          Shazron Abdullah made changes -
          Link This issue is duplicated by CB-1277 [ CB-1277 ]
          Shazron Abdullah made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Shazron Abdullah made changes -
          Fix Version/s 2.1.0 [ 12322462 ]
          lucas made changes -
          Field Original Value New Value
          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. 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.
          lucas created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development