Skip to content

Refactor: Simplify Basic Authentication regex#61

Open
Ayoub-Mabrouk wants to merge 1 commit intojshttp:masterfrom
Ayoub-Mabrouk:chore/credentials-regexp
Open

Refactor: Simplify Basic Authentication regex#61
Ayoub-Mabrouk wants to merge 1 commit intojshttp:masterfrom
Ayoub-Mabrouk:chore/credentials-regexp

Conversation

@Ayoub-Mabrouk
Copy link

  • 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.

- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant