From 9786820474ac191704045378d7c60695f932e6bf Mon Sep 17 00:00:00 2001 From: Austin Collier Date: Sun, 17 Mar 2024 08:23:41 -0600 Subject: [PATCH] Misunderstanding with $config --- flight/net/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/net/Request.php b/flight/net/Request.php index 1922664..569994e 100644 --- a/flight/net/Request.php +++ b/flight/net/Request.php @@ -148,7 +148,7 @@ class Request $config = [ 'url' => str_replace('@', '%40', self::getVar('REQUEST_URI', '/')), 'base' => str_replace(['\\', ' '], ['/', '%20'], \dirname(self::getVar('SCRIPT_NAME'))), - 'method' => ($config['method'] ?? self::getMethod()), + 'method' => self::getMethod(), 'referrer' => self::getVar('HTTP_REFERER'), 'ip' => self::getVar('REMOTE_ADDR'), 'ajax' => 'XMLHttpRequest' === self::getVar('HTTP_X_REQUESTED_WITH'),