We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a21f189 commit 0cd4d3fCopy full SHA for 0cd4d3f
1 file changed
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