From 85380efa3c2afd5a52bccb1ee24830c31f7203fc Mon Sep 17 00:00:00 2001 From: Jordan Bancino Date: Thu, 16 Feb 2023 01:33:46 +0000 Subject: [PATCH] [#48] Fix bug in MatrixGetAccessToken() --- src/Matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Matrix.c b/src/Matrix.c index 46e2fd9..018fc10 100644 --- a/src/Matrix.c +++ b/src/Matrix.c @@ -330,7 +330,7 @@ MatrixGetAccessToken(HttpServerContext * context, char **accessToken) } /* Seek past "Bearer" */ - token += 8; + token += 7; /* Seek past any spaces between "Bearer" and the token */ while (*token && isspace((unsigned char) *token))