Please sign in to comment.
Decode cookie before parsing. Use click instead of mousedown. Use jqu…
…ery instead of setAttribute.
- Loading branch information...
Showing with 5 additions and 3 deletions.
|@@ -1,10 +1,12 @@|
|from experiments import record_goal|
|+from urllib import unquote|
|def process_response(self, request, response):|
|experiments_goal = request.COOKIES.get('experiments_goal', None)|
|- for goal in experiments_goal.split('%20'): # multiple goals separated by space|
|+ for goal in unquote(experiments_goal).split(' '): # multiple goals separated by space|