Fix a comment typo in zerver/middleware.py.

This commit is contained in:
Felix Yan 2017-10-30 12:36:35 -05:00 committed by Tim Abbott
parent 2d0daffbc0
commit aea33fc738
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ def write_log_line(log_data, path, method, remote_ip, email, client_name,
else:
statsd_path = u"webreq.%s" % (path[1:].replace('/', '.'),)
# Remove non-ascii chars from path (there should be none, if there are it's
# because someone manually entered a nonexistant path), as UTF-8 chars make
# because someone manually entered a nonexistent path), as UTF-8 chars make
# statsd sad when it sends the key name over the socket
statsd_path = statsd_path.encode('ascii', errors='ignore').decode("ascii")
blacklisted_requests = ['do_confirm', 'send_confirm',