issues
search
jshttp
/
basic-auth
Generic basic auth Authorization header field parser
MIT License
702
stars
86
forks
source link
Refactor: Simplify Basic Authentication regex
#61
Open
Ayoub-Mabrouk
opened
3 weeks ago
Ayoub-Mabrouk
commented
3 weeks ago
Changed the regex for matching Basic Authentication credentials to use a case-insensitive flag.
Replaced explicit case handling for Basic with a single lowercase basic and the /i flag for improved readability.