Skip to content

Commit

Permalink
Bearer/Basic auth headers can be in lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Feb 19, 2024
1 parent 3649ddc commit 01784b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/spelling/candidate.patterns
Expand Up @@ -552,13 +552,13 @@ customObjectInstantitationMethod
\.fa-[-a-z0-9]+

# bearer auth
(['"])Bear[e][r] .*?\g{-1}
(['"])[Bb]ear[e][r] .*?\g{-1}

# bearer auth
Bear[e][r]:? [-a-zA-Z=;:/0-9+.]+
\b[Bb]ear[e][r]:? [-a-zA-Z=;:/0-9+.]+

# basic auth
(['"])Basic [-a-zA-Z=;:/0-9+]{3,}\g{-1}
(['"])[Bb]asic [-a-zA-Z=;:/0-9+]{3,}\g{-1}

# base64 encoded content
([`'"])[-a-zA-Z=;:/0-9+]{3,}=\g{-1}
Expand Down

0 comments on commit 01784b3

Please sign in to comment.