1
0
Fork 0
composer/tests/Composer/Test/Util
johnstevenson 74ba9decdf Rewrite NoProxyPattern to include IPv6
This includes two breaking changes:
- the hostname is not resolved in the case of an IP address.
- a hostname with a trailing period (FQDN) is not matched.

This brings the basic implementation in line with curl behaviour, with
the addition of full IP address and range matching (curl does not
differentiate between IP addresses host names).

The NO_PROXY environment variable can be set to either a comma-separated
list of host names that should not use a proxy, or single asterisk `*`
to match all hosts.

- Port numbers can be included by prefixing the port with a colon `:`.
- IP addresses can be used, but must be enclosed in square brackets
`[...]` if they include a port number.
- IP address ranges can specified in CIDR notation, separating the IP
address and prefix-length with a forward slash `/`.
2019-11-29 20:39:08 +00:00
..
Fixtures Added full unit test coverage 2019-03-04 11:08:59 +01:00
BitbucketTest.php Remove use of deprecated getMock method 2018-04-12 10:24:56 +02:00
ConfigValidatorTest.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
ErrorHandlerTest.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
FilesystemTest.php Add messages to junction tests to see failures 2019-10-21 11:09:17 +02:00
GitHubTest.php Remove unused private properties 2019-07-24 02:53:53 +02:00
GitLabTest.php Remove unused private properties 2019-07-24 02:53:53 +02:00
GitTest.php Git: fix authentication handling for private GitHub repositories 2019-11-23 12:02:06 +01:00
IniHelperTest.php Use external XdebugHandler library 2018-03-08 19:20:16 +00:00
NoProxyPatternTest.php Rewrite NoProxyPattern to include IPv6 2019-11-29 20:39:08 +00:00
PerforceTest.php Fix escaping of URLs in Perforce and Subversion drivers 2018-08-25 18:48:56 +02:00
PlatformTest.php Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-30 13:44:43 -02:00
ProcessExecutorTest.php SVN: hide passwords for debug output 2019-06-23 18:59:36 +01:00
RemoteFilesystemTest.php Remove use of deprecated getMock method 2018-04-12 10:24:56 +02:00
SilencerTest.php Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-30 13:44:43 -02:00
StreamContextFactoryTest.php Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-30 13:44:43 -02:00
SvnTest.php Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-30 13:44:43 -02:00
TlsHelperTest.php Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-30 13:44:43 -02:00
UrlTest.php CS fixer 2018-07-24 14:32:52 +02:00
ZipTest.php Added full unit test coverage 2019-03-04 11:08:59 +01:00