From d957cec9e071bfc746912f407faa0b373250f6db Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 1 Jun 2024 15:56:01 +0700 Subject: [PATCH] Add missing word --- qt/aqt/mediasrv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/mediasrv.py b/qt/aqt/mediasrv.py index 9b436b1cb..d426f5eda 100644 --- a/qt/aqt/mediasrv.py +++ b/qt/aqt/mediasrv.py @@ -275,7 +275,7 @@ def _handle_builtin_file_request(request: BundledFileRequest) -> Response: HTTPStatus.NOT_FOUND, ) # 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" return resp except Exception as error: