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

Save file to path which includes shell meta character #35

Conversation

@fujimura
Copy link
Contributor

@fujimura fujimura commented Aug 28, 2017

Path for saved file wasn't escaped and throwing exception below.

Grim::UnprocessablePage:
   sh: -c: line 0: syntax error near unexpected token `('
   sh: -c: line 0: `convert -resize 1024 -antialias -render -quality 90 -colorspace RGB -interlace none -density 300 /Users/fujimura/.ghq/github.com/jonmagic/grim/spec/fixtures/smoker.pdf[0] /Users/fujimura/.ghq/github.com/jonmagic/grim/tmp/to_png_spec(1).png'
@jonmagic jonmagic merged commit 536291a into jonmagic:master Sep 11, 2017
@jonmagic
Copy link
Owner

@jonmagic jonmagic commented Sep 11, 2017

Merged, updated the contributors list, and shipped version 1.3.3. Thank you for the contribution @fujimura 🤘

@fujimura fujimura deleted the fujimura:save-file-to-path-which-includes-shell-meta-character branch Sep 12, 2017
@fujimura
Copy link
Contributor Author

@fujimura fujimura commented Sep 12, 2017

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants