We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a21f189 + 0cd4d3f commit 1c77439Copy full SHA for 1c77439
src/Horse.BasicAuthentication.pas
@@ -97,6 +97,9 @@ procedure Middleware(Req: THorseRequest; Res: THorseResponse; Next: {$IF DEFINED
97
end;
98
99
LBasicAuthenticationEncode := Req.Headers[Config.Header];
100
+
101
+ //* 03-01-2023 - the authentication Header under Apache Module must be readed from "RawWebRequest" .....
102
+ if LBasicAuthenticationEncode.Trim.IsEmpty then LBasicAuthenticationEncode := Req.RawWebRequest.GetFieldByName(Config.Header);
103
104
if LBasicAuthenticationEncode.Trim.IsEmpty and not Req.Query.TryGetValue(Config.Header, LBasicAuthenticationEncode) then
105
begin
0 commit comments