Skip to content
Browse files

add quotes around headers

  • Loading branch information...
1 parent 6cab539 commit 4047a6a8c8fe15fc933af3b55f6c76eabce65a8e @cosmin cosmin committed Apr 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 beeswithmachineguns/bees.py
View
2 beeswithmachineguns/bees.py
@@ -194,7 +194,7 @@ def _attack(params):
options = ''
if params['headers'] is not '':
for h in params['headers'].split(';'):
- options += ' -H ' + h
+ options += ' -H "%s"' % h
if params['post_file']:
os.system("scp -q -o 'StrictHostKeyChecking=no' %s %s@%s:/tmp/honeycomb" % (params['post_file'], params['username'], params['instance_name']))

0 comments on commit 4047a6a

Please sign in to comment.
Something went wrong with that request. Please try again.