Skip to content

Commit

Permalink
merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
petrsvihlik committed Feb 24, 2024
1 parent 2fb2d11 commit 47f711e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/WopiHost.Core/Controllers/FilesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ public async Task<IActionResult> PutFile(string id)
[HttpPost("{id}"), WopiOverrideHeader(["PUT_RELATIVE"])]
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
public async Task<IActionResult> PutRelativeFile(string id) => throw new NotImplementedException($"{nameof(PutRelativeFile)} is not implemented yet.");
#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously

/// <summary>
/// Changes the contents of the file in accordance with [MS-FSSHTTP].
Expand Down
3 changes: 2 additions & 1 deletion src/WopiHost.Core/Controllers/WopiBootstrapperController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,6 @@ private bool ValidateAuthorizationHeader(StringValues authorizationHeader)
{
//TODO: implement header validation https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/bootstrapper/getrootcontainer#sample-response
// http://stackoverflow.com/questions/31948426/oauth-bearer-token-authentication-is-not-passing-signature-validation
true;
return true;
}
}

0 comments on commit 47f711e

Please sign in to comment.