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

Special characters in file paths not being escaped #40

Open
SirRawlins opened this issue Aug 7, 2014 · 3 comments
Open

Special characters in file paths not being escaped #40

SirRawlins opened this issue Aug 7, 2014 · 3 comments

Comments

@SirRawlins
Copy link

Hello Guys,

Got caught out this afternoon by a file which was called 'example (1).pdf' whereby the path is not escaped before sending to bash and therefore throws a syntax error.

I'm proposing that all commands are sanitised/escaped before being sent to bash to prevent this from happening in future.

If other people are happy this is the way to go I'll wrap up a pull-request with the fixes.

Robert

@tcocca
Copy link
Owner

tcocca commented Aug 10, 2014

It would be great if you could wrap up a PR for this.

Also, have you run the specs locally yet? I'm having a bit of an issue, its weird, they pass for me locally, however, I can't get them to run clean on travis. No idea whats up. Kind of why I haven't actually released this to rubygems yet.

Thanks,
~ Tom

@SirRawlins
Copy link
Author

@tcocca I'd be more than happy to work on a PR for this. I haven't tried running specs locally yet but will do so before I start work on the PR.

@SirRawlins
Copy link
Author

@tcocca I'm looking at putting this PR together this afternoon but Im having issues getting the specs to run - currently about 300 failing, most of the them in the wrapper_spec - Do I need to do anything specific to get these passing? Seems to be a mixture of different reasons for failure.

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

No branches or pull requests

2 participants