Jordi Boggiano
fc57b93603
Merge pull request from GHSA-v9qv-c7wm-wgmf
2024-06-10 14:56:13 +02:00
Jordi Boggiano
ff14762c06
Fix php5.3 syntax
2024-02-08 15:06:49 +01:00
Jordi Boggiano
7418b5212a
Remove return type
2024-02-08 14:45:59 +01:00
Jordi Boggiano
77e3982918
Merge pull request from GHSA-7c6p-848j-wh5h
...
* Fix automatic disabling of plugins when running non-interactive as root
* Fix usage of possibly compromised installed.php/InstalledVersions.php at runtime, refs GHSA-7c6p-848j-wh5h
* Fix InstalledVersionsTest regression
2024-02-08 14:33:59 +01:00
Jordi Boggiano
c0723bd1a2
Fix bitbucket redirect URLs failing old PHP builds which do not support long headers
...
51e2015af3
2023-09-28 16:26:45 +02:00
David Zülke
008c8ed11a
Fix lib-curl-openssl parsing for SecureTransport ( #11534 )
...
On macOS, if libcurl is built against SecureTransport, the platform repository will contain an invalid package name:
% composer show --platform | grep curl
ext-curl 8.2.7 The curl PHP extension
lib-curl 8.1.2 The curl library
lib-curl-(securetransport) openssl 3.1.1 curl (securetransport) openss...
lib-curl-libssh2 1.11.0 curl libssh2 version
lib-curl-zlib 1.2.11 curl zlib version
This change fixes it:
% bin/composer show --platform | grep curl
lib-curl 8.1.2 The curl library
lib-curl-libssh2 1.11.0 curl libssh2 version
lib-curl-securetransport 3.1.1 curl (securetransport) openssl ...
lib-curl-zlib 1.2.11 curl zlib version
(second column width difference comes from the Composer dev version number)
2023-09-28 16:04:05 +02:00
Jordi Boggiano
90f8d01614
Fix loading of root aliases on path repo packages when doing partial updates, fixes #11630 ( #11632 )
2023-09-28 15:49:28 +02:00
Attia A. Ahmed
3d5f475703
Fix broken junctions leading to installation failure on Windows ( #11550 )
2023-07-21 10:58:54 +02:00
Stefan Grootscholten
77e89fb3e4
Fix authentication issues with private bitbucket repos ( #11464 )
2023-05-23 23:06:48 +02:00
Ayesh Karunaratne
b067e96021
Update URL masking patterns for new GitHub fine-grained PATs
...
Updates GitHub Personal Access Token regex pattern to detect new [fine-grained PATs](https://github.blog/changelog/2022-10-18-introducing-fine-grained-personal-access-tokens/ )
2022-10-25 15:08:16 +02:00
Jordi Boggiano
8a8c50c3a6
Fix handling of upper-bound platform req ignores to not act on conflicts ( #11037 )
...
* Fix handling of upper-bound platform req ignores to not act on conflicts, fixes #11020
* Optimization
2022-09-13 15:16:41 +02:00
Jordi Boggiano
f2141dd3ea
Fix tests from #10985
2022-08-16 11:25:15 +02:00
Stephan
1f0bd51f55
GitHubDriver: stricter URL validation to avoid issues with undefined index owner ( #10985 )
2022-08-16 11:08:03 +02:00
Jordi Boggiano
9d90bc649d
Fix tests
2022-07-20 22:53:57 +02:00
Andreas Schempp
424547bb70
Correctly merge boolean flag of allow-plugin config ( #10909 )
2022-07-01 11:08:35 +02:00
Jordi Boggiano
15f7d24e7e
Parse openssl 3 versions cleaner
2022-06-02 21:17:44 +02:00
Nicolas Hedger
70a7b592e9
Fix JSON schema regex pattern ( #10811 )
2022-06-01 21:23:07 +02:00
Jordi Boggiano
10d3895f18
Ensure that dotfiles can be excluded, fixes #8866
2022-05-24 22:14:17 +02:00
Jordi Boggiano
44a52e4157
Fix backtracking in name validation regex
2022-05-24 14:32:18 +02:00
John Stevenson
2837585e47
Fix cmd splitting paths on commas ( #10775 )
2022-05-12 21:13:55 +02:00
Stephan Vock
d40c3a89c0
GitLab: add warning in case GitLab authentication is misconfigured
2022-04-28 21:37:45 +01:00
Stephan Vock
3b4a3d63bf
GitLab: prevent invalid loop during composer install with invalid credentials
2022-04-28 21:16:16 +01:00
Jordi Boggiano
b0b364af19
E_TOO_MANY_BRANCHES
2022-04-13 17:24:39 +02:00
Jordi Boggiano
9a62ef7ff2
Add missing return type
2022-04-13 17:07:33 +02:00
Jordi Boggiano
a1f9baa118
Fix 5.3/5.4 builds
2022-04-13 16:42:12 +02:00
Stephan
2c40c53637
Merge pull request from GHSA-x7cr-6qr6-2hh6
...
* GitDriver: filter branch names starting with a - character
* GitDriver: getFileContent prevent identifiers starting with a -
* HgDriver: prevent invalid identifiers and prevent file from running commands
* HgDriver: filter branches starting with a - character
2022-04-13 15:54:58 +02:00
Jordi Boggiano
1cc23e1a8b
🤦♂️
2022-04-02 13:04:03 +02:00
Jordi Boggiano
6b330b7456
Fix tests
2022-04-02 12:58:29 +02:00
Jordi Boggiano
34fa266114
Fix windows build
2022-04-02 12:48:02 +02:00
Jordi Boggiano
0985501602
Fix windows build
2022-04-02 12:38:23 +02:00
Jordi Boggiano
ecec0d00fc
Fix generation of autoload rules in a dir that is missing to ensure it does not break ( #10688 )
2022-04-01 21:20:21 +02:00
Jordi Boggiano
7eb8f92a93
Fix test
2022-03-29 21:37:41 +02:00
Jordi Boggiano
60616f9bd1
Fix tests
2022-03-29 21:27:43 +02:00
Jordi Boggiano
2dbe66ad20
Fix deletion of corrupt 0-bytes zip archives from the cache, fixes #10580 ( #10666 )
2022-03-29 18:57:30 +02:00
Jordi Boggiano
6b97524b25
Load plugins which modify install path early, fixes #10618 ( #10621 )
2022-03-15 22:11:19 +01:00
Jordi Boggiano
dbcdb4a903
Add test for circular depths of equal weight
2022-03-15 12:02:03 +01:00
Jordi Boggiano
f31700bf19
Sort packages with the same weight alphabetically to have a completely stable sort not dependent on input order, fixes #10614
2022-03-15 11:35:33 +01:00
Yanick Witschi
ced24da7b0
Fix PoolOptimizer should consider disjunctive MultiConstraints ( #10579 )
2022-03-12 14:16:38 +01:00
Jordi Boggiano
b3f99faff7
Fix tests
2022-03-09 21:39:18 +01:00
Jordi Boggiano
28ec4fa7b0
Fix handling of invalid emails
2022-02-16 13:24:15 +01:00
Stephan
3eb12efae5
VcsRepositories: handle initialize with invalid repository URL ( #10525 )
2022-02-16 09:37:36 +01:00
Jordi Boggiano
6698317342
Make tests more robust
2022-02-15 16:42:50 +01:00
Jordi Boggiano
f808e4907c
Fix handling for non-lowercased enum keyword, fixes #10521
2022-02-15 16:41:06 +01:00
Jordi Boggiano
3cb44bc4c0
Fix build with latest setup-php
2022-02-08 14:54:46 +01:00
Jordi Boggiano
ee36c5e54a
Fix error reporting issues when partial updates cannot update due to a symlinked path repo package, fixes #10451
2022-02-04 15:58:50 +01:00
Florian Engelhardt
3d82719b70
Fix package search not urlencoding the input ( #10500 )
2022-02-04 10:23:10 +01:00
Jordi Boggiano
62d5f4f295
Fix phpstan errors
2022-02-02 22:18:00 +01:00
Markus Staab
6be6ce7d9f
update composer/pcre to 1.0.1 ( #10496 )
2022-02-02 21:35:37 +01:00
Jordi Boggiano
db8ea45295
Fix enum parsing when the syntax is "enum foo:string {}" without space between name and type, fixes #10498
2022-02-02 17:48:45 +01:00
Jordi Boggiano
7591ef0084
Attempt fixing usage of InstalledVersions in tests
2022-02-02 16:08:40 +01:00