File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
- 03/02/2023
1
+ 03/10/2023
2
+ - when looking for a bearer token an exception occured if the
3
+ Authorization header didn't contain any space character;
4
+ see #473
5
+
6
+ 02/03/2023
2
7
- release 1.7.6-3 of luarock pinning lua-resty-session dependency to
3
8
not go beyond 3.1ß
4
9
Original file line number Diff line number Diff line change @@ -1651,7 +1651,7 @@ local function openidc_get_bearer_access_token(opts)
1651
1651
end
1652
1652
1653
1653
local divider = header :find (' ' )
1654
- if divider == 0 or string.lower (header :sub (0 , divider - 1 )) ~= string.lower (" Bearer" ) then
1654
+ if divider == nil or divider == 0 or string.lower (header :sub (0 , divider - 1 )) ~= string.lower (" Bearer" ) then
1655
1655
err = " no Bearer authorization header value found"
1656
1656
log (ERROR , err )
1657
1657
return nil , err
You can’t perform that action at this time.
0 commit comments