You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2012/07/28 01:53:34 UTC

[jira] [Comment Edited] (CB-1124) "create" script (and possibly others) provided in bin directory do not escape arguments

    [ https://issues.apache.org/jira/browse/CB-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424221#comment-13424221 ] 

Shazron Abdullah edited comment on CB-1124 at 7/27/12 11:52 PM:
----------------------------------------------------------------

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/filmaj/cordova-client) and these scripts will be obsolete.
                
      was (Author: shazron):
    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/imhotep/cordova-client) and these scripts will be obsolete.
                  
> "create" script (and possibly others) provided in bin directory do not escape arguments
> ---------------------------------------------------------------------------------------
>
>                 Key: CB-1124
>                 URL: https://issues.apache.org/jira/browse/CB-1124
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.0.0
>         Environment: OSX Lion
>            Reporter: lucas
>            Assignee: Shazron Abdullah
>              Labels: create, scripts
>             Fix For: 2.1.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira