From 0c237549fed1e9aea2a7ee32804d9be9ecf3def7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tommy=20M=C3=BChle?= Date: Fri, 15 Jan 2021 10:29:10 +0100 Subject: [PATCH] Add further path to composer-config.yaml If the vendor directory is part of the web root you can also find the config in the provided path. Of course you've then also some more problems besides that ;) --- exposures/configs/composer-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exposures/configs/composer-config.yaml b/exposures/configs/composer-config.yaml index b3a9afeebb..8fe5d67e0a 100644 --- a/exposures/configs/composer-config.yaml +++ b/exposures/configs/composer-config.yaml @@ -11,6 +11,7 @@ requests: - "{{BaseURL}}/composer.json" - "{{BaseURL}}/composer.lock" - "{{BaseURL}}/.composer/composer.json" + - "{{BaseURL}}/vendor/composer/installed.json" matchers: - type: dsl @@ -21,4 +22,4 @@ requests: - type: dsl name: composer.json dsl: - - "contains(body, 'require') == true && contains(tolower(all_headers), 'application/json') == true && status_code == 200" \ No newline at end of file + - "contains(body, 'require') == true && contains(tolower(all_headers), 'application/json') == true && status_code == 200"