1
0
Fork 0
composer/tests/Composer/Test/Util
Ayesh Karunaratne 931a1ff1f8
AuthHelper: Allow fall-through GitLab-specific HTTP headers for auth
Previously, `AuthHelper` consumed the authentication credentials for GitLab domains and added access tokens as GitLab-specific headers.
[Composer repositories now supported in GitLab](https://php.watch/articles/composer-gitlab-repositories) require standard Authorization headers with a personal access to function, which failed to work due to out GitLab-specific headers.

With this commit, AuthHelper checks if the password is an access token, and falls through to HTTP basic authentication even if the domain name is a GitLab domain name.
2020-08-27 12:13:28 +07:00
..
Fixtures Add support for TAR in Artifact packages (#9105) 2020-08-12 20:30:58 +02:00
AuthHelperTest.php AuthHelper: Allow fall-through GitLab-specific HTTP headers for auth 2020-08-27 12:13:28 +07:00
BitbucketTest.php Additional Util\Bitbucket class test coverage (#8835) 2020-04-28 11:45:30 +02:00
ConfigValidatorTest.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
ErrorHandlerTest.php Build tweaks 2020-05-20 16:20:54 +02:00
FilesystemTest.php Add messages to junction tests to see failures 2019-10-21 11:09:17 +02:00
GitHubTest.php Merge branch 'master' into 2.0 2020-02-07 22:20:51 +01:00
GitLabTest.php Merge branch 'master' into 2.0 2020-02-07 22:20:51 +01:00
GitTest.php fix risky tests (without any assertion) 2020-02-07 14:35:07 +08:00
HttpDownloaderTest.php Fix tests 2019-01-14 17:29:24 +01:00
IniHelperTest.php use Symfony PHPUnit Bridge 2020-02-07 12:22:22 +08:00
MetadataMinifierTest.php Extract MetadataMinifier util 2020-01-15 12:58:30 +01:00
NoProxyPatternTest.php use Symfony PHPUnit Bridge 2020-02-07 12:22:22 +08:00
PackageSorterTest.php Fix package sorting 2020-05-03 16:31:47 +02:00
PerforceTest.php use Symfony PHPUnit Bridge 2020-02-07 12:22:22 +08:00
PlatformTest.php use Symfony PHPUnit Bridge 2020-02-07 12:22:22 +08:00
ProcessExecutorTest.php Merge branch 'master' into 2.0 2020-02-07 22:20:51 +01:00
RemoteFilesystemTest.php Additional Util\RemoteFileSystem tests (#8960) 2020-06-16 09:35:33 +02:00
SilencerTest.php use Symfony PHPUnit Bridge 2020-02-07 12:22:22 +08:00
StreamContextFactoryTest.php Merge branch 'master' into 2.0 2020-02-07 22:20:51 +01:00
SvnTest.php use Symfony PHPUnit Bridge 2020-02-07 12:22:22 +08:00
TarTest.php Add support for TAR in Artifact packages (#9105) 2020-08-12 20:30:58 +02:00
TlsHelperTest.php use Symfony PHPUnit Bridge 2020-02-07 12:22:22 +08:00
UrlTest.php Merge branch 'master' into 2.0 2020-02-07 22:20:51 +01:00
ZipTest.php Add exception for multiple composer.json files (#3) 2020-07-21 17:10:26 +02:00