From 83f171f68bf75c770c56dd8aa8990f44566c22a1 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Mon, 18 Aug 2025 16:35:09 +0800 Subject: [PATCH] Fix typo This typo is causing the header `X-Forwarded-Proto` to be ineffective (when using reverse proxy). --- src/base/http/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/http/types.h b/src/base/http/types.h index ebe342a6f..25bb04849 100644 --- a/src/base/http/types.h +++ b/src/base/http/types.h @@ -60,7 +60,7 @@ namespace Http inline const QString HEADER_X_CONTENT_TYPE_OPTIONS = u"x-content-type-options"_s; inline const QString HEADER_X_FORWARDED_FOR = u"x-forwarded-for"_s; inline const QString HEADER_X_FORWARDED_HOST = u"x-forwarded-host"_s; - inline const QString HEADER_X_FORWARDED_PROTO = u"X-forwarded-proto"_s; + inline const QString HEADER_X_FORWARDED_PROTO = u"x-forwarded-proto"_s; inline const QString HEADER_X_FRAME_OPTIONS = u"x-frame-options"_s; inline const QString HEADER_X_XSS_PROTECTION = u"x-xss-protection"_s;