From 6a776e30f861716a7511feb5ed4ffa861c9272c9 Mon Sep 17 00:00:00 2001 From: Fabien Ehrlich Date: Wed, 13 May 2026 11:35:13 +0200 Subject: [PATCH] fix: proxy options in ItemController The correct context is http->proxy : https://www.php.net/manual/en/context.http.php --- app/Http/Controllers/ItemController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ItemController.php b/app/Http/Controllers/ItemController.php index a7a113a0e..cd5492b1e 100644 --- a/app/Http/Controllers/ItemController.php +++ b/app/Http/Controllers/ItemController.php @@ -271,7 +271,7 @@ public static function storelogic(Request $request, $id = null): Item $httpsProxy = getenv('HTTPS_PROXY'); $httpsProxyLower = getenv('https_proxy'); if ($httpsProxy !== false || $httpsProxyLower !== false) { - $options['proxy']['http'] = $httpsProxy ?: $httpsProxyLower; + $options['http']['proxy'] = $httpsProxy ?: $httpsProxyLower; } $file = $request->input('icon');