Permalink
Browse files

Merge pull request #28 from svana/master

Escape character for URL
  • Loading branch information...
2 parents b2775ff + b3877ce commit c5d378960407d82cf311509d1d12b9c48a95a3fc @JoeGermuska JoeGermuska committed May 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 beeswithmachineguns/bees.py
@@ -186,7 +186,7 @@ def _attack(params):
print 'Bee %i is firing his machine gun. Bang bang!' % params['i']
- stdin, stdout, stderr = client.exec_command('ab -r -n %(num_requests)s -c %(concurrent_requests)s -C "sessionid=NotARealSessionID" %(url)s' % params)
+ stdin, stdout, stderr = client.exec_command('ab -r -n %(num_requests)s -c %(concurrent_requests)s -C "sessionid=NotARealSessionID" "%(url)s"' % params)
response = {}

0 comments on commit c5d3789

Please sign in to comment.