mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[wopi] Remove redundant Authorization header;Fix bug 71766
This commit is contained in:
@ -976,7 +976,8 @@ async function fillStandardHeaders(ctx, headers, url, access_token) {
|
||||
// headers['X-WOPI-CorrelationId '] = "";
|
||||
// headers['X-WOPI-SessionId'] = "";
|
||||
}
|
||||
headers['Authorization'] = `Bearer ${access_token}`;
|
||||
//remove redundant header https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/common-headers#request-headers
|
||||
// headers['Authorization'] = `Bearer ${access_token}`;
|
||||
}
|
||||
|
||||
function checkIpFilter(ctx, uri){
|
||||
|
||||
Reference in New Issue
Block a user