Should't PutRelativeFile / PUT_RELATIVE1 handling be via /wopi*/files/<fileId>? It's not supposed to be handled via the same route as PutFile / PUT2 from what I can tell:
|
#[FrontpageRoute(verb: 'POST', url: 'wopi/files/{fileId}/contents')] |
|
public function putFile( |
|
string $fileId, |
|
#[\SensitiveParameter] |
|
string $access_token, |
|
): JSONResponse { |
|
[$fileId, , ] = Helper::parseFileId($fileId); |
|
$isPutRelative = ($this->request->getHeader('X-WOPI-Override') === 'PUT_RELATIVE'); |
https://sdk.collaboraonline.com/docs/How_to_integrate.html#connection-to-the-file-storage
Should't
PutRelativeFile/PUT_RELATIVE1 handling be via/wopi*/files/<fileId>? It's not supposed to be handled via the same route asPutFile/PUT2 from what I can tell:richdocuments/lib/Controller/WopiController.php
Lines 557 to 564 in 0bf027a
https://sdk.collaboraonline.com/docs/How_to_integrate.html#connection-to-the-file-storage
Footnotes
https://learn.microsoft.com/en-us/openspecs/office_protocols/ms-wopi/d12ab554-eab7-480f-bdc7-0bdf14922e6f ↩
https://learn.microsoft.com/en-us/openspecs/office_protocols/ms-wopi/42d0e5ae-074f-4d11-9d9b-706d843fad9c ↩