Skip to content

Commit dc6ab94

Browse files
Merge pull request #27 from shaunroselt/spelling-and-grammar
Fixed Spelling and Grammar
2 parents f1d1b20 + a36a39e commit dc6ab94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# horse-basic-auth
2-
<b>horse-basic-auth</b> is a official middleware for working with basic authentication in APIs developed with the <a href="https://github.com/HashLoad/horse">Horse</a> framework.
2+
<b>horse-basic-auth</b> is an official middleware for working with basic authentication in APIs developed with the <a href="https://github.com/HashLoad/horse">Horse</a> framework.
33
<br>We created a channel on Telegram for questions and support:<br><br>
44
<a href="https://t.me/hashload">
55
<img src="https://img.shields.io/badge/telegram-join%20channel-7289DA?style=flat-square">

src/Horse.BasicAuthentication.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ procedure Middleware(Req: THorseRequest; Res: THorseResponse; Next: {$IF DEFINED
114114

115115
LBasicAuthenticationEncode := Req.Headers[Config.Header];
116116

117-
//* 03-01-2023 - the authentication Header under Apache Module must be readed from "RawWebRequest" .....
117+
//* 03-01-2023 - the authentication Header under Apache Module must be read from "RawWebRequest" .....
118118
if LBasicAuthenticationEncode.Trim.IsEmpty then LBasicAuthenticationEncode := Req.RawWebRequest.GetFieldByName(Config.Header);
119119

120120
if LBasicAuthenticationEncode.Trim.IsEmpty and not Req.Query.TryGetValue(Config.Header, LBasicAuthenticationEncode) then

0 commit comments

Comments
 (0)