Bug Fix: Unauthorized HTTP Status Desc length
Status Description was to long causing a 0-byte result to be returned (HTTP 504).
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Disco.Services.Plugins
|
||||
if (CurrentUser != null)
|
||||
AuthorizationLog.LogAccessDenied(CurrentUser.Id, resource, message);
|
||||
|
||||
return new HttpUnauthorizedResult(message);
|
||||
return new HttpUnauthorizedResult();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user