42 Commits (6c1da86437542a23d2af7434edc33969456a76a6)

Author SHA1 Message Date
Jordi Boggiano d0e780a8eb Allow php_uname to be disabled, fixes composer/getcomposer.org#112 7 years ago
Jordi Boggiano 0f455be01c Add CI flag in UA header 8 years ago
Jordi Boggiano 3455380413 Patch Httpoxy vulnerability 8 years ago
Jordi Boggiano fc57cc8d7e Remove changes in StreamContextFactory, refs #5055 8 years ago
Paul.Wenke b4d9d0fd0d Added BitbucketTest class. Added is_array and is_object check to http content before calling http_build_query. 8 years ago
Paul Wenke d5332a1b5c Developed bitbucket-oauth functionality. 8 years ago
Jordi Boggiano fbab2bfa17 Move user agent definition to StreamContextFactory so it is available in all contexts 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Possum 29ca21f30e PHP version checks tweaking 9 years ago
Jordi Boggiano 8dad846613 Add SNI settings for SSL URLs that are proxied, fixes #3204 10 years ago
Jordi Boggiano 4a6503fe36 Add suppor for https_proxy, fixes #3204 10 years ago
Pascal Borreli 2f4df9d459 Fixed typos 11 years ago
Jordi Boggiano 08243ce2e3 Fix handling of urlencoded user and password in proxy urls, fixes #2339 11 years ago
Jordi Boggiano b4c0b18896 Add tests, refs #2017 11 years ago
Jordi Boggiano 13c7be2d7e Reformat some code and avoid adding proxy auth if no_proxy matched the url, refs #2017 11 years ago
radnan a55c9b6a88 added no_proxy handler - fixes #1318
- handle no_proxy directive when building stream context
- using CIDR matching from Zend library
- uses parts of code provided courtesy of @hoffman
11 years ago
Jordi Boggiano 1debe22412 Add HTTPS_PROXY_REQUEST_FULLURI to disable the request_fulluri only for https requests, fixes #1946, fixes #1839 11 years ago
Jordi Boggiano 8c197d2325 Fix CS and wording, remove lowercased env var, add env var to docs 11 years ago
Alexander Loutsenko b7e41de607 Workaround when your proxy server fails request with enabled http_proxy_request_fulluri HTTP parameter 11 years ago
Jordi Boggiano 9a69886a92 Add default http options to stream context, fixes #1774 11 years ago
Jordi Boggiano 1c468e7c02 Fix cs 12 years ago
Markus Tacker 821f57f443 A bug in PHP prevents the headers from correctly beeing sent when a content-type header is present and
NOT at the end of the array

https://bugs.php.net/bug.php?id=61548

This updates fixes the array by moving the content-type header to the end
12 years ago
Jordi Boggiano 308e2ff4cb Add support for headers as strings to avoid regressions, refs #1387 12 years ago
Jordi Boggiano cd284733ef Fix proxy scheme concatenation, fixes #1250 12 years ago
Jordi Boggiano 7aab7c6297 Fix StreamContextFactory tests 12 years ago
Nikita Baksalyar 8f0f1e3aac Fixed an issue with HTTP proxy and PHP 5.4 12 years ago
WanWizard e24226162d fixed getContext() choking on empty HTTP_PROXY environment variable
Signed-off-by: WanWizard <wanwizard@wanwizard.eu>
12 years ago
Jordi Boggiano c440b4594a More PSR-2 goodness 12 years ago
Jordi Boggiano 1bd4ccbd54 php-cs-fixer magic 12 years ago
Jordi Boggiano 072f4397a0 Fix default options handling in StreamContextFactory 12 years ago
Maxim Chernyshev 5294cb222c Precious community feedback-based refactoring 12 years ago
Maxim Chernyshev 1ae0a1b7af Follow-up coding standard fixes 12 years ago
Maxim Chernyshev 37476eb61f Fixed indentation 12 years ago
Maxim Chernyshev 8918551f29 Simplified proxy port determination and passed tests 12 years ago
Maxim Chernyshev 2ca50a1ef3 Merged in upstream 12 years ago
Maxim Chernyshev 419a1cedf0 Proxy credentials are now passed as part of HTTP headers 12 years ago
Danny Berger e7ba0c38a8 Add default http(s) ports to proxy configuration if they are missing. 12 years ago
Jordi Boggiano 81fdd790f2 Notes on HTTP_PROXY env var 12 years ago
Jordan Alliot b4d87af959 Changed array_merge to array_merge_recursive 13 years ago
Jordan Alliot 468eb0ed8d Merge default options after buildind proxy one 13 years ago
Jordan Alliot 054faef5eb New context at each call and possibility to add more options and params to the context 13 years ago
Jordan Alliot 9c27e38654 Moved proxy handling to a new class so that it can be reused in other parts of Composer 13 years ago