You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
@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.
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
The text was updated successfully, but these errors were encountered: