Skip to content

Commit

Permalink
encoded request.url into utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingBird95 committed Dec 23, 2018
1 parent cec05d0 commit 9c9ee7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_monitoringdashboard/core/profiler/outlierProfiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self, current_thread, endpoint):
self._memory = ''
self._stacktrace = ''

self._request = str(request.headers), str(request.environ), str(request.url)
self._request = str(request.headers), str(request.environ), request.url.encode('utf-8')

def run(self):
# sleep for average * ODC ms
Expand Down

0 comments on commit 9c9ee7f

Please sign in to comment.