File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 76
76
<UsingDelphiRTL>true</UsingDelphiRTL>
77
77
<Icon_MainIcon>$(BDS)\bin\delphi_PROJECTICON.ico</Icon_MainIcon>
78
78
<Icns_MainIcns>$(BDS)\bin\delphi_PROJECTICNS.icns</Icns_MainIcns>
79
- <DCC_UnitSearchPath>$(Horse);modules\.dcp;modules\.dcu;modules;modules\delphi-jose-jwt\Source\Common;modules\delphi-jose-jwt\Source\JOSE;modules\horse\src;modules\jhonson\src;$(DCC_UnitSearchPath) </DCC_UnitSearchPath>
79
+ <DCC_UnitSearchPath>$(Horse);$(DCC_UnitSearchPath); modules\.dcp;modules\.dcu;modules;modules\delphi-jose-jwt\Source\Common;modules\delphi-jose-jwt\Source\JOSE;modules\horse\src;modules\jhonson\src</DCC_UnitSearchPath>
80
80
<DCC_Framework>VCL;$(DCC_Framework)</DCC_Framework>
81
81
<SanitizedProjectName>samples</SanitizedProjectName>
82
82
</PropertyGroup>
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ procedure Middleware(AHorseRequest: THorseRequest;
180
180
raise EHorseCallbackInterrupted.Create;
181
181
end ;
182
182
183
- LToken := LToken.Replace(' bearer ' , ' ' , [rfIgnoreCase]);
183
+ LToken := Trim( LToken.Replace(' bearer' , ' ' , [rfIgnoreCase]) );
184
184
185
185
{ $IFNDEF FPC}
186
186
LBuilder := TJOSEConsumerBuilder
You can’t perform that action at this time.
0 commit comments