mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Add missing word
This commit is contained in:
parent
6ef9ba0305
commit
d957cec9e0
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ def _handle_builtin_file_request(request: BundledFileRequest) -> Response:
|
||||||
HTTPStatus.NOT_FOUND,
|
HTTPStatus.NOT_FOUND,
|
||||||
)
|
)
|
||||||
# we're including the path verbatim in our response, so we need to either use
|
# we're including the path verbatim in our response, so we need to either use
|
||||||
# plain text, or escape HTML characters to reflecting untrusted input
|
# plain text, or escape HTML characters to avoid reflecting untrusted input
|
||||||
resp.headers["Content-type"] = "text/plain"
|
resp.headers["Content-type"] = "text/plain"
|
||||||
return resp
|
return resp
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
|
|
Loading…
Reference in a new issue