From 7e5703e380f0da60aa24c46adcf26a0b28407bfe Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Mon, 18 Nov 2019 10:41:42 +0100 Subject: [PATCH] avoid dangerous example config in recipe preserving headers on redirects includes a potential security risk because on redirect to a different domain credential headers would be leaked. --- php-http/httplug-bundle/1.6/config/packages/httplug.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-http/httplug-bundle/1.6/config/packages/httplug.yaml b/php-http/httplug-bundle/1.6/config/packages/httplug.yaml index 2aadcd13..71100ff4 100644 --- a/php-http/httplug-bundle/1.6/config/packages/httplug.yaml +++ b/php-http/httplug-bundle/1.6/config/packages/httplug.yaml @@ -1,7 +1,7 @@ httplug: plugins: - redirect: - preserve_header: true + retry: + retry: 1 discovery: client: 'auto'