Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F118408263
D3704.1775802287.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
700 B
Referenced Files
None
Subscribers
None
D3704.1775802287.diff
View Options
diff --git a/src/app/Http/Controllers/API/V4/NGINXController.php b/src/app/Http/Controllers/API/V4/NGINXController.php
--- a/src/app/Http/Controllers/API/V4/NGINXController.php
+++ b/src/app/Http/Controllers/API/V4/NGINXController.php
@@ -125,6 +125,11 @@
$username = $this->normalizeUsername($request->headers->get('Php-Auth-User', ""));
$password = $request->headers->get('Php-Auth-Pw', null);
+ if (empty($username)) {
+ //Allow unauthenticated requests
+ return response("");
+ }
+
if (empty($password)) {
\Log::debug("Authentication attempt failed: Empty password provided.");
return response("", 401);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 10, 6:24 AM (7 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18839948
Default Alt Text
D3704.1775802287.diff (700 B)
Attached To
Mode
D3704: Allow unauthenticated requests for CalDAV/CardDAV/ActiveSync
Attached
Detach File
Event Timeline