Skip to content

Conversation

@david-binda
Copy link
Contributor

Basic Auth should not be set via PHP.

This commit adds new sniff which is producing errors in case it spots $_SERVER['PHP_AUTH_PW'] in the code.

Unit tests are included.

Basic Auth should not be set via PHP.

This commit adds new sniff which is producing errors in case it spots `$_SERVER['PHP_AUTH_PW']` in the code.

Unit tests are included.
@david-binda david-binda merged commit 8ec9fd5 into master Nov 29, 2017
@sboisvert sboisvert deleted the detect-basic-auth-in-php branch May 15, 2018 16:18
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.

2 participants