summary refs log tree commit diff
path: root/synapse/rest/media/v1/_base.py
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2021-02-12 11:01:48 -0500
committerPatrick Cloke <patrickc@matrix.org>2021-02-12 11:14:12 -0500
commit7950aa8a27c3f45184c96fda210c62d068dd2591 (patch)
treebdbb8b61fa05020fdf800818066a8dc1a230da8b /synapse/rest/media/v1/_base.py
parentMerge tag 'v1.27.0rc2' into develop (diff)
downloadsynapse-7950aa8a27c3f45184c96fda210c62d068dd2591.tar.xz
Fix some typos.
Diffstat (limited to 'synapse/rest/media/v1/_base.py')
-rw-r--r--synapse/rest/media/v1/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/_base.py b/synapse/rest/media/v1/_base.py
index f71a03a12d..90bbeca679 100644
--- a/synapse/rest/media/v1/_base.py
+++ b/synapse/rest/media/v1/_base.py
@@ -137,7 +137,7 @@ def add_file_headers(
         # section 3.6 [2] to be a `token` or a `quoted-string`, where a `token`
         # is (essentially) a single US-ASCII word, and a `quoted-string` is a
         # US-ASCII string surrounded by double-quotes, using backslash as an
-        # escape charater. Note that %-encoding is *not* permitted.
+        # escape character. Note that %-encoding is *not* permitted.
         #
         # `filename*` is defined to be an `ext-value`, which is defined in
         # RFC5987 section 3.2.1 [3] to be `charset "'" [ language ] "'" value-chars`,