Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users/kej/handlebackslashproperly #6288

Merged
merged 3 commits into from
Jan 25, 2018
Merged

Conversation

keljos
Copy link
Member

@keljos keljos commented Jan 25, 2018

Fix for the issue where curl is treating backslashes in file paths/names as escape characters.

Copy link
Member

@yacaovsnc yacaovsnc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

// Now matching the pattern against all files
var uploadFilesList = tl.match(allFiles, filesPattern, undefined, {matchBase: true});
var uploadFilesList = tl.match(allFiles, filesPattern, undefined, {matchBase: true}).map( (s) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment on why we had to do this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done. Thanks!

@keljos keljos merged commit 86b132b into master Jan 25, 2018
@keljos keljos deleted the users/kej/handlebackslashproperly branch January 25, 2018 20:42
keljos added a commit that referenced this pull request Jan 25, 2018
* Fix for the backslash escaping issue in cURL

* Corrected minor version

* Added comment to explain why we are escaping the backslash character in linux environments
keljos added a commit that referenced this pull request Jan 25, 2018
* Fix for the backslash escaping issue in cURL

* Corrected minor version

* Added comment to explain why we are escaping the backslash character in linux environments
Copy link
Member

@jpricket jpricket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me :)

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.

5 participants