Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117758344
D5583.1775209454.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
546 B
Referenced Files
None
Subscribers
None
D5583.1775209454.diff
View Options
diff --git a/src/app/Providers/AppServiceProvider.php b/src/app/Providers/AppServiceProvider.php
--- a/src/app/Providers/AppServiceProvider.php
+++ b/src/app/Providers/AppServiceProvider.php
@@ -281,6 +281,12 @@
);
});
+ // Use strict RFC compliant redirects which maintain the HTTP Method.
+ // Otherwise the redirect will always use a GET request.
+ Http::globalOptions([
+ 'allow_redirects' => ['strict' => true],
+ ]);
+
$this->applyOverrideConfig();
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 9:44 AM (13 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18823519
Default Alt Text
D5583.1775209454.diff (546 B)
Attached To
Mode
D5583: Fix non-get redirects
Attached
Detach File
Event Timeline