diff --git a/zerver/middleware.py b/zerver/middleware.py index 89d656e5b2..524234fa9d 100644 --- a/zerver/middleware.py +++ b/zerver/middleware.py @@ -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',