mirror of https://github.com/zulip/zulip.git
Fix a comment typo in zerver/middleware.py.
This commit is contained in:
parent
2d0daffbc0
commit
aea33fc738
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue