Skip to content

[bugfix] escape whitespace for filepath. Use nodejs path to make path#12

Open
drunkhacker wants to merge 1 commit intomatiassingers:masterfrom
easi6:master
Open

[bugfix] escape whitespace for filepath. Use nodejs path to make path#12
drunkhacker wants to merge 1 commit intomatiassingers:masterfrom
easi6:master

Conversation

@drunkhacker
Copy link

There's a problem for parsing ipa file of which scheme has whitespace in it.
When the scheme name has whitespace, generated .ipa file has white-spaced .app file in it.
Because of this, several failure can occur on this library. So I escaped path before use, but when I try to escape spaces right before plist.readFileSync, it throws me an error. (I think it is because it escapes filename internally).

Other than reading plist, path are used for concatenating command forked by exec, so I think it will be fine in most cases. Consider this PR, and please fix this bug. Thanks.

@angu-software
Copy link

Same Issue here.
Hope for Merge of this fix soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments