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 18, 2024
1 parent 1bc2cac commit f59913c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/spelling/candidate.patterns
Original file line number Diff line number Diff line change
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 f59913c

Please sign in to comment.